[Flashcoders] DataGrid and Button

2008-02-05 Thread Lehr, Theodore M (N-SGIS)
Anyone know of a good tutorial on how to incorporate a button into a datagrid? Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] DataGrid: Extra Row

2008-02-05 Thread Lehr, Theodore M (N-SGIS)
I am populating a datagrid via: data_array = new Array(); for (j=0; jthis.firstChild.childNodes.length; j++) { var lessonTitle:String = this.firstChild.childNodes[j].childNodes[0].firstChild.nodeValue; var desc:String =

RE: [Flashcoders] loadmovie

2008-02-29 Thread Lehr, Theodore M (N-SGIS)
://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/ht ml/wwhelp.htm?context=Flash_MX_2004file=1580.html hth. B On Fri, Feb 29, 2008 at 7:45 AM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: I am loading a movie via: holder_lesson.loadMovie(lessons/+_root.wlesson+.swf

[Flashcoders] Repeated action on mouse down

2008-03-10 Thread Lehr, Theodore M (N-SGIS)
How would I repeat an action with a button click held down? Seems like onMouseDown should repeat the action, but seems to only do it once Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] mouse x and y

2008-03-11 Thread Lehr, Theodore M (N-SGIS)
How can I trace the x and y of the mouse? I would want to grab it on a click Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] calculating distance between two points

2008-03-11 Thread Lehr, Theodore M (N-SGIS)
How do you calculate the distance between two points with different x and y values? I know it is some simple math formula - I just don't know it ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] RE: calculating distance between two points

2008-03-11 Thread Lehr, Theodore M (N-SGIS)
Nevermind sorry -Original Message- From: Lehr, Theodore M (N-SGIS) Sent: Tuesday, March 11, 2008 8:05 AM To: 'Flash Coders List' Subject: calculating distance between two points How do you calculate the distance between two points with different x and y values? I know it is some

[Flashcoders] listen for mouse click

2008-03-11 Thread Lehr, Theodore M (N-SGIS)
I have a deal where I have a huge movie and onPress I am getting the mouse coordinates and onRelease I am getting the mouse coordinates and then drawing a circle with the resulting coordinates... I would like to do it without having to be on a movie... is it possible to have a listener turned on

[Flashcoders] moving a symbol with AS

2008-04-04 Thread Lehr, Theodore M (N-SGIS)
How can I move an object with AS and be able to watch it move? I am not talking about simply giving it a new x or y - I want to animate it to move ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] movement

2008-04-08 Thread Lehr, Theodore M (N-SGIS)
I have a mc I am moving via AS - it moves at a fine pace in the player inside flash - but when I view it via the browser, it really slows down... why would this happen? ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] movement

2008-04-10 Thread Lehr, Theodore M (N-SGIS)
, Lehr, Theodore M (N-SGIS) wrote: I have a mc I am moving via AS - it moves at a fine pace in the player inside flash - but when I view it via the browser, it really slows down... why would this happen? ted ___ Flashcoders mailing list Flashcoders

RE: [Flashcoders] movement

2008-04-10 Thread Lehr, Theodore M (N-SGIS)
60 FPS when viewed in the browser. Windows XP, Flash CS3 Professional, IE7. On Tue, Apr 8, 2008 at 3:20 PM, David Rogers [EMAIL PROTECTED] wrote: if you are on a mac, try enabling or disabling rosetta in the info panel of the application icon On Apr 8, 2008, at 2:41 PM, Lehr, Theodore M

[Flashcoders] sending email as/php

2008-04-14 Thread Lehr, Theodore M (N-SGIS)
Sorry for posting such a basic but I did google first... I am trying: As: loadVariablesNum (mail.php, 0, POST); php: ?php $comment=$_GET['ucomment']; $name=$_GET['uname']; $email=$_GET['uemail']; mail([EMAIL PROTECTED],

RE: [Flashcoders] sending email as/php

2008-04-14 Thread Lehr, Theodore M (N-SGIS)
$_POST if you're sending POST. Use $_GET when you're pulling variables out of the url, like index.php?id=980; I'd also recommend strip_tags(). $comment=strip_tags($_POST['ucomment']); And look up sql injection. Gabino - Original Message - From: Lehr, Theodore M (N-SGIS) [EMAIL

RE: [Flashcoders] sending email as/php

2008-04-14 Thread Lehr, Theodore M (N-SGIS)
Coders List Subject: RE: [Flashcoders] sending email as/php your using POST to send the data - and then trying to retrieve with GET -Original Message- From: [EMAIL PROTECTED] on behalf of Lehr, Theodore M (N-SGIS) Sent: Mon 14/04/2008 16:29 To: Flash Coders List Subject: [Flashcoders

[Flashcoders] dynamic text and _alpha

2008-04-15 Thread Lehr, Theodore M (N-SGIS)
I am changing the _alpha value of a mc when a button is clicked A dynamic textbox in the mc is not being affected by it... Everything else in the mc is... how can I change the _alpha value of a dynamic textbox in a mc? ___ Flashcoders mailing list

RE: [Flashcoders] dynamic text and _alpha

2008-04-15 Thread Lehr, Theodore M (N-SGIS)
is not using embedded fonts. Lehr, Theodore M (N-SGIS) wrote: I am changing the _alpha value of a mc when a button is clicked A dynamic textbox in the mc is not being affected by it... Everything else in the mc is... how can I change the _alpha value of a dynamic textbox in a mc

[Flashcoders] code review

2008-04-15 Thread Lehr, Theodore M (N-SGIS)
What is wrong with this code: for (i=1; i6; i++) { _root.main_content[p_+i].setTextFormat(portNavOff); } P_1, p_2, are dynamic text fields. Should this be working or can I not target a text field like this? ___ Flashcoders mailing list

[Flashcoders] OT: php forum

2008-04-17 Thread Lehr, Theodore M (N-SGIS)
Anyone know of a good php forum? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] OT: php forum

2008-04-17 Thread Lehr, Theodore M (N-SGIS)
. The people from Wordpress were working on a system called BBPress - looked promising, but have not tried it out. HTH Lehr, Theodore M (N-SGIS) wrote: Anyone know of a good php forum? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

[Flashcoders] Player 8 and the Alert component

2008-05-07 Thread Lehr, Theodore M (N-SGIS)
Should the Alert component work in 8 (player)? Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Player 8 and the Alert component

2008-05-13 Thread Lehr, Theodore M (N-SGIS)
To: Flash Coders List Subject: Re: [Flashcoders] Player 8 and the Alert component Hi, Yes, you may need to drag an instance of it onto the stage in your FLA file so it gets compiled in. Glen Lehr, Theodore M (N-SGIS) wrote: Should the Alert component work in 8 (player)? Ted

[Flashcoders] Drag and Snapping

2008-06-30 Thread Lehr, Theodore M (N-SGIS)
I have a mc that I am dragging... when I click on it - it snaps to 0,0 of the movie... I do not remember running into this before How can I make it so it does not snap to a coordinate, but just stays where it is? ___ Flashcoders mailing list

RE: [Flashcoders] Drag and Snapping

2008-06-30 Thread Lehr, Theodore M (N-SGIS)
Nevermind - I got it... hiccup in the code... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lehr, Theodore M (N-SGIS) Sent: Monday, June 30, 2008 12:57 PM To: Flash Coders List Subject: [Flashcoders] Drag and Snapping I have a mc that I am dragging

[Flashcoders] tracing height

2008-07-08 Thread Lehr, Theodore M (N-SGIS)
I have: _root.imageMovie.loadMovie(stepImageArray[0]); sizeImage(); function sizeImage () { trace(_root.imageMovie._height); } But I keep getting 0 I am guessing because the trace is fired before the image is loaded... how can I make sure this function does not fire until the

RE: [Flashcoders] tracing height

2008-07-08 Thread Lehr, Theodore M (N-SGIS)
:24 AM To: Flash Coders List Subject: Re: [Flashcoders] tracing height - Original Message - From: Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 08, 2008 8:56 AM Subject: [Flashcoders] tracing height I have

[Flashcoders] Listeners and onLoadComplete

2008-07-14 Thread Lehr, Theodore M (N-SGIS)
Trying again I have: this.createEmptyMovieClip(img_mc,999); var my_mcl:MovieClipLoader = new MovieClipLoader(); mclListener.onLoadComplete = function(target_mc:MovieClip):Void { trace(onLoadComplete: +target_mc); }; my_mcl.addListener(mclListener);

RE: [Flashcoders] Listeners and onLoadComplete

2008-07-14 Thread Lehr, Theodore M (N-SGIS)
? JC On Mon, Jul 14, 2008 at 9:14 PM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: Trying again I have: this.createEmptyMovieClip(img_mc,999); var my_mcl:MovieClipLoader = new MovieClipLoader(); mclListener.onLoadComplete = function(target_mc:MovieClip):Void { trace

[Flashcoders] Resizing Images

2008-07-22 Thread Lehr, Theodore M (N-SGIS)
I have a small movie where I am importing images and dynamically resizing them - the problem is that when it is shrunken - it gets really pixellated - I am using jpegs - is there a way to make it so they look better - maybe import a different type of image ?

[Flashcoders] barcode

2008-07-24 Thread Lehr, Theodore M (N-SGIS)
If I want to make a mc that is a bar code - is it a simple matter of getting a bar code font? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Resizing Images

2008-07-24 Thread Lehr, Theodore M (N-SGIS)
= e.target.content as Bitmap; b.smoothing = true; this.img_mc.addChild(b); } .m On Tue, Jul 22, 2008 at 12:40 PM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: I have a small movie where I am importing images and dynamically resizing them - the problem

RE: [Flashcoders] Resizing Images

2008-07-24 Thread Lehr, Theodore M (N-SGIS)
, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: I get an error on: var b:Bitmap; It allows for BitmapData? What error did you get? .m ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Resizing Images

2008-07-24 Thread Lehr, Theodore M (N-SGIS)
: import flash.display.Bitmap; On Thu, Jul 24, 2008 at 1:01 PM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: The class or interface 'Bitmap' could not be loaded -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt S. Sent: Thursday, July 24, 2008 1

[Flashcoders] XML and best method

2008-08-28 Thread Lehr, Theodore M (N-SGIS)
I have a project that involves xml... I am wondering how I should organize my xml... would it be best (from a flash perspective) for it to be on huge xml file with lots and lots of children - or would I be better off breaking it into multiple xml files where one xml tag references another xml file

[Flashcoders] Dynamic Scrollable textfield

2008-09-04 Thread Lehr, Theodore M (N-SGIS)
Is there a way to make a textfield created via: createTextField scrollable through actionscript? Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Dynamic Scrollable textfield

2008-09-04 Thread Lehr, Theodore M (N-SGIS)
] On Behalf Of Cor Sent: Thursday, September 04, 2008 12:42 PM To: 'Flash Coders List' Subject: RE: [Flashcoders] Dynamic Scrollable textfield Set it to multlLine -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lehr, Theodore M (N-SGIS) Sent: donderdag 4

[Flashcoders] code acting differently

2008-09-04 Thread Lehr, Theodore M (N-SGIS)
I have this simple code: createClassObject(mx.controls.TextArea, textArea, 0, {editable:false, html:true, wordWrap:true, vScrollPolicy:auto}); textArea.setSize(250, 225); textArea.move(25, 50); textArea.text = bContent 1/bbrbrLorem ipsum dolor sit amet, Integer vitae quam. Aliquam

RE: [Flashcoders] code acting differently

2008-09-04 Thread Lehr, Theodore M (N-SGIS)
Never mind... I was not including the textarea in the library of the one movie... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lehr, Theodore M (N-SGIS) Sent: Thursday, September 04, 2008 3:34 PM To: Flash Coders List Subject: [Flashcoders] code acting

[Flashcoders] UIScrollBar and Style

2008-09-04 Thread Lehr, Theodore M (N-SGIS)
OK, so I am using: createClassObject(mx.controls.TextArea, textArea, 0, {editable:false, html:true, wordWrap:true, vScrollPolicy:auto}); textArea.setSize(250, 225); textArea.move(25, 50); textArea.text = bContent 1/bbrbrLorem ipsum dolor sit amet, Integer vitae quam. Aliquam vestibulum.

[Flashcoders] textarea and transparent background

2008-09-05 Thread Lehr, Theodore M (N-SGIS)
I am changing the background color of a textarea via: textArea.setStyle(backgroundColor,0xcc); What I am wondering is if I can make it transparent? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] textarea and transparent background

2008-09-05 Thread Lehr, Theodore M (N-SGIS)
(backgroundColor,0x00cc); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lehr, Theodore M (N-SGIS) Sent: vrijdag 5 september 2008 17:08 To: Flash Coders List Subject: [Flashcoders] textarea and transparent background I am changing the background color

RE: [Flashcoders] textarea and transparent background

2008-09-05 Thread Lehr, Theodore M (N-SGIS)
: [Flashcoders] textarea and transparent background Hi, I am thinking that if you don't set a style, your text area will be transparent. Although you might be able to specify none or transparent as a style - check the doc's for styling the component. Glen Lehr, Theodore M (N-SGIS) wrote: I

RE: [Flashcoders] textarea and transparent background

2008-09-05 Thread Lehr, Theodore M (N-SGIS)
Thanks - finally found it in the docs: // Give all TextArea components transparent backgrounds. _global.styles.TextArea.backgroundColor = undefined; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lehr, Theodore M (N-SGIS) Sent: Friday, September 05

[Flashcoders] TextArea class properties

2008-09-09 Thread Lehr, Theodore M (N-SGIS)
I have a TexrArea I am creating via: mx.controls.TextArea I am trying to find a way to make it so the text is not selectable - when I select some text I get a green border around the textarea - I would like to get that to not show up and I am thinking that if they can not select the text

RE: [Flashcoders] TextArea class properties

2008-09-09 Thread Lehr, Theodore M (N-SGIS)
Yeah - didn't seem to affect anything -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, September 09, 2008 12:06 PM To: Flash Coders List Subject: RE: [Flashcoders] TextArea class properties Have you tried selectable = false?

RE: [Flashcoders] TextArea class properties

2008-09-09 Thread Lehr, Theodore M (N-SGIS)
Beauty - this works - but it is graying out my text - how can I maintain the same text color when it is disabled... is there a style that is applicable? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Bradley Sent: Tuesday, September 09, 2008 12:35 PM

RE: [Flashcoders] TextArea class properties

2008-09-09 Thread Lehr, Theodore M (N-SGIS)
://livedocs.adobe.com/flex/3/langref/mx/controls/TextArea.html Ian On Tue, Sep 9, 2008 at 5:41 PM, Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED] wrote: Beauty - this works - but it is graying out my text - how can I maintain the same text color when it is disabled... is there a style

[Flashcoders] Component Issue

2008-09-09 Thread Lehr, Theodore M (N-SGIS)
Ok - so I have a movie that serves something like a template. Content is populated via creating text fields... removing movies and creating them again It all worked fine until I started using a textarea component... It seems like the inclusion of components is screwing something up where

RE: [Flashcoders] Component Issue

2008-09-09 Thread Lehr, Theodore M (N-SGIS)
Good old Google - it seems that getNextHighestDepth sets things out of reach for removeMovieClip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lehr, Theodore M (N-SGIS) Sent: Tuesday, September 09, 2008 3:24 PM To: Flash Coders List Subject

[Flashcoders] HTML in a TextArea

2008-09-18 Thread Lehr, Theodore M (N-SGIS)
OK - so I have a textarea that I am having hold an image followed by text... by default the text follows immediately by the text - I want the text to be below the image... I have tried br/ and that works but the size of the images is dynamic so there is no hard answer... I have also tried p/p or

[Flashcoders] Textarea

2008-09-26 Thread Lehr, Theodore M (N-SGIS)
I have a textarea that I am filling with an image followed by text - I want the text to appear under the image but I can not figure out how to get a hard return in after the image - I could do a bunch of br/'s but it will be dynamic so there is no telling how big the image will be - any ideas?

RE: [Flashcoders] Textarea

2008-09-26 Thread Lehr, Theodore M (N-SGIS)
inclined to have the text field and picture be separate and have textfield's .y and .height properties adjust dynamically to the bitmap data of the dynamic image. On Sep 26, 2008, at 8:56 AM, Lehr, Theodore M (N-SGIS) wrote: I have a textarea that I am filling with an image followed by text

[Flashcoders] Textarea in MC issue

2008-09-26 Thread Lehr, Theodore M (N-SGIS)
I have a textarea mc that is getting put into another MC The problem I am having is when someone clicks on it - a green outline appears around the textarea - and when you scroll - all of the text becomes selected and the scroll OCCASSIONALLY gets stuck on the bottom 0 any thoughts?

RE: [Flashcoders] Selling a Flash website

2008-09-29 Thread Lehr, Theodore M (N-SGIS)
Ebay? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert-Jan van der Wel Sent: Monday, September 29, 2008 11:18 AM To: Flash Coders List Subject: [Flashcoders] Selling a Flash website Hi everybody, This might be a little off topic, but hopefully

RE: [Flashcoders] Selling a Flash website

2008-09-29 Thread Lehr, Theodore M (N-SGIS)
: [Flashcoders] Selling a Flash website @Paul: It's a good suggestion, but we can't afford to hire someone at this moment. We're making money, but not enough to hire someone. @Theodore: Ebay could be an option. Has anybody done this? Gert-Jan 2008/9/29 Lehr, Theodore M (N-SGIS) [EMAIL PROTECTED

[Flashcoders] HTMLLoader problem

2009-02-23 Thread Lehr, Theodore M (N-SGIS)
I'm having a funny issue with HTMLLoader. I'm getting a 1046: Type was not found or was not a compile-time constant: HTMLLoader. Error for the line of code below. public var _htmlLoader:HTMLLoader = new HTMLLoader(); I'm importing HTMLLoader and URLLoader. The odd part to me is the code I am

[Flashcoders] Flash and Video

2009-06-01 Thread Lehr, Theodore M (N-SGIS)
I have a .mov file that I want to import into a movie and then slow it down (slow motion). Any way to do this? Ted ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders