[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


[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 using to create a simple browser window works perfectly for an AIR
application, but when I try it in a Flash program I get the error.  Is
HTMLLoader only for AIR?  
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 someone can help me out.

For the last couple of years a friend and I were happily running a  
project on the side called T-signers.com. It's a site where people can  
design and order their own custom t-shirts. It's always been a  
pleasure to work on it, but recently a couple of things have changed  
and we can't find the time anymore to work on it. At this moment we're  
thinking about selling it or finding some enthusiastic developers to  
continue the project. Does anybody know how we should handle this?

Thanks!
Gert-Jan
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Selling a Flash website

2008-09-29 Thread Lehr, Theodore M (N-SGIS)
That's probably what I would do - you simply package the domain name with your 
files and be done with it...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert-Jan van der 
Wel
Sent: Monday, September 29, 2008 2:03 PM
To: Flash Coders List
Subject: Re: [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]

 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 someone can help me out.

 For the last couple of years a friend and I were happily running a
 project on the side called T-signers.com. It's a site where people can
 design and order their own custom t-shirts. It's always been a
 pleasure to work on it, but recently a couple of things have changed
 and we can't find the time anymore to work on it. At this moment we're
 thinking about selling it or finding some enthusiastic developers to
 continue the project. Does anybody know how we should handle this?

 Thanks!
 Gert-Jan
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
Gert-Jan van der Wel
Co-Founder  CTO, Floorplanner.com

+31 (0)10 281 0799
+31 (0)6 1665 0338
[EMAIL PROTECTED]
http://www.floorplanner.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Textarea

2008-09-26 Thread Lehr, Theodore M (N-SGIS)
1 sounds a little more involved than I want to get... 2 was my first
approach, but I end up with a (vertically speaking) very small scrolling
textfield - and it just does not look good - so my goal was to mimic a
div with an overflow of auto where the whole thing (image and text)
scrolls

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Rogers
Sent: Friday, September 26, 2008 10:27 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Textarea

Two suggestions:

1) It's a bit extreme but in the end I think it would work.  Use the  
BitmapData Class to collect the image data, then use it to add  
additional transparent pixels to the left or right making the total  
width of the image the same width of your text field.  You then must  
use something like the PNGEncoder class to save it as a PNG and save  
it to a server using AMFPHP.  Make sure your .htmlText references this  
file directory and file name. Tthe transparent pixels should push the  
text below the image.

Here is the link to the PNGEncoder class:

http://www.5etdemi.com/blog/archives/2006/12/as3-png-encoder-faster-bett
er/

2) You could do all that but I would be more 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 - 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?

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 wrapping the image in a div but none of those seem to
work - How can I get the text to be below the image no matter what?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 it will not show up... any ideas?

 

 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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?

Jason Merrill 
Bank of America 
Enterprise Technology  Global Risk LLD 
Instructional Technology  Media

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  Innovative Learning Blog  subscribe. 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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
To: Flash Coders List
Subject: Re: [Flashcoders] TextArea class properties

On Sep 9, 2008, at 12:05 PM, Merrill, Jason wrote:

 Have you tried selectable = false?

I think it might be:

textAreaInstance.enabled = false;

Getting rid of the focus rect is generally a separate issue though,  
but when the component 'enabled' property is set to false, the focus  
rect shouldn't show.

- jon


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] TextArea class properties

2008-09-09 Thread Lehr, Theodore M (N-SGIS)
Beauty - thanks all

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: Tuesday, September 09, 2008 12:48 PM
To: Flash Coders List
Subject: Re: [Flashcoders] TextArea class properties

Try the style 'disabledColor'.
The docs are here:
http://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 that is
 applicable?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Jon
 Bradley
 Sent: Tuesday, September 09, 2008 12:35 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] TextArea class properties

 On Sep 9, 2008, at 12:05 PM, Merrill, Jason wrote:

  Have you tried selectable = false?

 I think it might be:

 textAreaInstance.enabled = false;

 Getting rid of the focus rect is generally a separate issue though,
 but when the component 'enabled' property is set to false, the focus
 rect shouldn't show.

 - jon


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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
the textfields are not getting removed and content is getting piled on
top of each other

 

I know thiis is not much info and I do not have much to go on right now
- does this sound familiar with anyone - it only happended sense I
started including a component

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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

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
the textfields are not getting removed and content is getting piled on
top of each other

 

I know thiis is not much info and I do not have much to go on right now
- does this sound familiar with anyone - it only happended sense I
started including a component

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] textarea and transparent background

2008-09-05 Thread Lehr, Theodore M (N-SGIS)
Thanks for the suggestion, but no dice

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cor
Sent: Friday, September 05, 2008 11:15 AM
To: 'Flash Coders List'
Subject: RE: [Flashcoders] textarea and transparent background

Try textArea.setStyle(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 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
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] textarea and transparent background

2008-09-05 Thread Lehr, Theodore M (N-SGIS)
Thanks- it seems to be white by default - I'll try your suggestions -
I've been searching the docs and the web...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen
Pike
Sent: Friday, September 05, 2008 11:23 AM
To: Flash Coders List
Subject: Re: [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 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
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


   

-- 

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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, 2008 11:35 AM
To: Flash Coders List
Subject: RE: [Flashcoders] textarea and transparent background

Thanks- it seems to be white by default - I'll try your suggestions -
I've been searching the docs and the web...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen
Pike
Sent: Friday, September 05, 2008 11:23 AM
To: Flash Coders List
Subject: Re: [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 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
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


   

-- 

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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)
Thanks, but I am talking about having it scroll, not just be
multilined... Ideally, I would like to do it as simple as a div does in
html (style=overflow:auto; height:400px;) is there a simple way like
this in as?

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 september 2008 18:20
To: Flash Coders List
Subject: [Flashcoders] Dynamic Scrollable textfield

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

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 vestibulum. Curabitur nibh eros, tincidunt
eu, imperdiet non, pulvinar vel, pede. Cras scelerisque, neque non
fermentum suscipit, nulla nisl varius risus, brbrLorem ipsum dolor
sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur nibh eros,
tincidunt eu, imperdiet non, pulvinar vel, pede. Cras scelerisque, neque
non fermentum suscipit, nulla nisl varius risus, brbrLorem ipsum
dolor sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur nibh
eros, tincidunt eu, imperdiet non, pulvinar vel, pede. Cras scelerisque,
neque non fermentum suscipit, nulla nisl varius risus, brbrLorem
ipsum dolor sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur
nibh eros, tincidunt eu, imperdiet non, pulvinar vel, pede. Cras
scelerisque, neque non fermentum suscipit, nulla nisl varius risus, ;

trace(textArea);

 

 

On one machine it works fine and textArea traces to _level0.textArea

 

On another machine it does not work and textArea is undefined... is
there something I am missing to be able to create the object?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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 differently

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 vestibulum. Curabitur nibh eros, tincidunt
eu, imperdiet non, pulvinar vel, pede. Cras scelerisque, neque non
fermentum suscipit, nulla nisl varius risus, brbrLorem ipsum dolor
sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur nibh eros,
tincidunt eu, imperdiet non, pulvinar vel, pede. Cras scelerisque, neque
non fermentum suscipit, nulla nisl varius risus, brbrLorem ipsum
dolor sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur nibh
eros, tincidunt eu, imperdiet non, pulvinar vel, pede. Cras scelerisque,
neque non fermentum suscipit, nulla nisl varius risus, brbrLorem
ipsum dolor sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur
nibh eros, tincidunt eu, imperdiet non, pulvinar vel, pede. Cras
scelerisque, neque non fermentum suscipit, nulla nisl varius risus, ;

trace(textArea);

 

 

On one machine it works fine and textArea traces to _level0.textArea

 

On another machine it does not work and textArea is undefined... is
there something I am missing to be able to create the object?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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. Curabitur nibh eros, tincidunt
eu, imperdiet non, pulvinar vel, pede. Cras scelerisque, neque non
fermentum suscipit, nulla nisl varius risus, brbrLorem ipsum dolor
sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur nibh eros,
tincidunt eu, imperdiet non, pulvinar vel, pede. Cras scelerisque, neque
non fermentum suscipit, nulla nisl varius risus, brbrLorem ipsum
dolor sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur nibh
eros, tincidunt eu, imperdiet non, pulvinar vel, pede. Cras scelerisque,
neque non fermentum suscipit, nulla nisl varius risus, brbrLorem
ipsum dolor sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur
nibh eros, tincidunt eu, imperdiet non, pulvinar vel, pede. Cras
scelerisque, neque non fermentum suscipit, nulla nisl varius risus, ;

 

to create a textarea and scroll when necessary... I am able to style the
textarea the way I want to with:

 

textArea.setStyle(backgroundColor,0xcc);

 

How do I reach the UIScrollBar to set the style?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 and so on...

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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)
I get an error on: var b:Bitmap;

It allows for BitmapData?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt S.
Sent: Tuesday, July 22, 2008 12:59 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Resizing Images

smoothing. Cast the image as a Bitmap and apply smoothing, and you'll
be able to resize without image degradation.

function loadTheImage(iMG):void {
url = uploads/+iMG+.jpg;
var request:URLRequest = new URLRequest(url);
var loader:Loader = new Loader();
loader.load(request);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
onThumbLoad);

loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,
preLoader);

}

function onThumbLoad(e:Event):void {
//cast the loaded content as Bitmap
var b:Bitmap;
b = 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 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 mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
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)
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:09 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Resizing Images

On Thu, Jul 24, 2008 at 12:50 PM, Lehr, 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
___
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)
What if I max out at 2.0 - how would I smooth the images?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helmut
Granda
Sent: Thursday, July 24, 2008 2:28 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Resizing Images

you need the bitmap class:
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:09 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Resizing Images

 On Thu, Jul 24, 2008 at 12:50 PM, Lehr, 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
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
...helmut
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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);

my_mcl.loadClip(http://www.helpexamples.com/flash/images/image1.jpg,
img_mc);

 

 

I am not getting the trace - does this code look right?

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Listeners and onLoadComplete

2008-07-14 Thread Lehr, Theodore M (N-SGIS)
Ahhh... I'm an idiot - thanks

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hans
Wichman
Sent: Monday, July 14, 2008 3:37 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Listeners and onLoadComplete

Hi,
im missing the creating of the listener?
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(onLoadComplete: +target_mc);

 };

 my_mcl.addListener(mclListener);

 my_mcl.loadClip(http://www.helpexamples.com/flash/images/image1.jpg,
 img_mc);





 I am not getting the trace - does this code look right?

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 image is loaded. I tried:

 

_root.imageMovie.onLoad = function() {

 

}

 

But that does not seem to fire at all

 

My ultimate goal is to control the size of the image that is being
loaded to make sure it is not too big

 

Thanks!

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] tracing height

2008-07-08 Thread Lehr, Theodore M (N-SGIS)
Ok - so I have tried the following:

this.createEmptyMovieClip(img_mc, 999);
var my_mcl:MovieClipLoader = new MovieClipLoader();

mclListener.onLoadComplete = function(target_mc:MovieClip,
status:Number):Void {
trace(onLoadComplete:  + target_mc);
};

my_mcl.addListener(mclListener);

my_mcl.loadClip(http://www.helpexamples.com/flash/images/image1.jpg;,
img_mc);

and while the clip loads I am not getting a trace... that's really what
I need

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gabino
Travassos
Sent: Tuesday, July 08, 2008 11: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:



 _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 image is loaded. I tried:



 _root.imageMovie.onLoad = function() {



 }



 But that does not seem to fire at all



 My ultimate goal is to control the size of the image that is being
 loaded to make sure it is not too big



 Thanks!

Hi Theodore,

There might be better ways than what I am using, but this works. For 
each image I create a new movieclip which onEnterFrame resizes the 
target loadMovie image to a set size, and then removes itself so it 
doesn't keep working needlessly.

This is cut and pasted from a project where images are sourced from XML,

so it might have some extraneous ...


   mrand=Math.round(Math.random()*3000);
 tname='img'+mrand;
 _root.createEmptyMovieClip(tname, imagedepth); imagedepth++;
 _root['img'+mrand].createEmptyMovieClip('md', imagedepth);
 
_root['img'+mrand].md.loadMovie(images.childNodes[i].attributes['imgloc'
]);
 _root['img'+mrand]._x=images.childNodes[i].attributes['x'];
 _root['img'+mrand]._y=images.childNodes[i].attributes['y'];
 trace(images.childNodes[i].attributes['imgloc']);

 // image sizer
 mrand=Math.round(Math.random()*3000);
 sizer=tname+'sizer'+mrand; imagedepth++;
 _root.createEmptyMovieClip(sizer, imagedepth); imagedepth++;
 _root[sizer].pushw=images.childNodes[i].attributes['w'];
 _root[sizer].pushh=images.childNodes[i].attributes['h'];
 _root[sizer].clipname=tname;
 //trace(images.childNodes[i].attributes['w']);
 _root[sizer].onEnterFrame=function(){
  trace(this.clipname + ' ' + this.pushw + ' ' + this.pushh);
  _root[this.clipname]._width=this.pushw;
  _root[this.clipname]._height=this.pushh;
  //trace(this.clipname); // img0sizer
  if(!init){ init=1; }
  if((this.pushw)(this.pushh)(init30)){
// counts to 30 frames and quits, should be enough
   this.removeMovieClip();
  }
  init++;
 }



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


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... 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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
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)
The problem seems to be that the alert component is in a mc that is
being loaded into another mc... is this a known issue? Any thought on
how I get it to work?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen
Pike
Sent: Wednesday, May 07, 2008 2:43 PM
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 mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


   

-- 

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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


[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)
Sorry - I meant something like this where I can turn to when I have a
problem

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen
Pike
Sent: Thursday, April 17, 2008 10:45 AM
To: Flash Coders List
Subject: Re: [Flashcoders] OT: php forum

Phorum - this is okay, easy to customise the look when you find the 
template folder, header, footer  css
PHPBB - horrible to integrate with - tried doing a system to 
automatically add new users for a CMS to the forum and had to rewrite 
large chunks of code - does not separate code from SQL from content.
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://chattyfig.figleaf.com/mailman/listinfo/flashcoders


   

-- 

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] dynamic text and _alpha

2008-04-15 Thread Lehr, Theodore M (N-SGIS)
That did it - thanks

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen
Pike
Sent: Tuesday, April 15, 2008 9:59 AM
To: Flash Coders List
Subject: Re: [Flashcoders] dynamic text and _alpha

You may have problems changing text alpha if the TextField 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 mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


   

-- 

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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], subject, Name: .$name.\nEmail:
.$email.\n\nComment: .$comment);

?

 

I am not getting the variable values...

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] sending email as/php

2008-04-14 Thread Lehr, Theodore M (N-SGIS)
Thanks for the response - but I am getting the same results

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gabino
Travassos
Sent: Monday, April 14, 2008 12:00 PM
To: Flash Coders List
Subject: Re: [Flashcoders] sending email as/php

hi Theodore

Use $_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 PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, April 14, 2008 9:29 AM
Subject: [Flashcoders] sending email as/php


 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], subject, Name: .$name.\nEmail:
 .$email.\n\nComment: .$comment);

 ?



 I am not getting the variable values...

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] sending email as/php

2008-04-14 Thread Lehr, Theodore M (N-SGIS)
Same results if I:
$comment=$_POST['ucomment'];
$name=$_POST['uname'];
$email=$_POST['uemail'];



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pete
Hotchkiss
Sent: Monday, April 14, 2008 11:55 AM
To: Flash Coders List; Flash 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] sending email as/php
 
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], subject, Name: .$name.\nEmail:
.$email.\n\nComment: .$comment);

?

 

I am not getting the variable values...

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] movement

2008-04-10 Thread Lehr, Theodore M (N-SGIS)
No - on a PC viewing it in IE



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Rogers
Sent: Tuesday, April 08, 2008 4:13 PM
To: Flash Coders List
Subject: Re: [Flashcoders] movement

are you using safari?

On Apr 8, 2008, at 2:41 PM, 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@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] movement

2008-04-10 Thread Lehr, Theodore M (N-SGIS)
You are right - that does seem to make a difference - except I am
noticing that set default it runs fine - it is when I make it
transparent (which I need it to be) it then slows down

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mario
gonzalez
Sent: Thursday, April 10, 2008 9:30 AM
To: Flash Coders List
Subject: Re: [Flashcoders] movement

Make sure you set the window mode to opaque OR transparent... not
default.
That seems to make a huge difference:

wmode not set:
http://hugo.wddg.com/blogfiles/wmode/wmodedefault.html

wmode set to opaque:
http://hugo.wddg.com/blogfiles/wmode/wmodeopaque.html


Both are using the same swf only difference between the two is the tag 
as you can see in the source.
Hope this helps, cus it sure has helped me a ton.


Mario Gonzalez.


Cory Petosky wrote:
 My buddy and I were playing with some performance benchmarks we wrote
 (put 100 bitmaps on the screen by manual blits to a backing
 BitmapData). We weren't surprised that it ran stably at 120 FPS in the
 Flash IDE. We were alarmed to discover, however, that the same SWF ran
 at a mere 80 FPS in the Flash standalone player and was just under 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 (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@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

   
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 



 --
 Cory Petosky : Lead Developer : PUNY
 1618 Central Ave NE Suite 130
 Minneapolis, MN 55413
 Office: 612.216.3924
 Mobile: 240.422.9652
 Fax: 612.605.9216
 http://www.punyentertainment.com
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 simple math formula - I just don't know
it
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 that will then be able to do the same thing? I am not
totally familiar with listeners
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] loadmovie

2008-02-29 Thread Lehr, Theodore M (N-SGIS)
Thanks - worked perfectly

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl
Sent: Friday, February 29, 2008 10:21 AM
To: Flash Coders List
Subject: Re: [Flashcoders] loadmovie

Use loadClip and wait for the onLoadInit to fire, then resize.



http://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);

 the problem is the movie is maxing to the size of the swf and not the
 size of the clip it is being loaded into... it takes up the whole
swf...
 I am even trying to resize it:

 holder_lesson._width = 967;
 holder_lesson._height = 572;
 holder_lesson._x = 3;
 holder_lesson._y = 23;

 what's up?
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[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 =
this.firstChild.childNodes[j].childNodes[1].firstChild.nodeValue; 

data_array.push({AvailableLessons:lessonTitle,
Description:desc});

  } 

  dg.dataProvider = data_array;

 

The loop is looping the correct amount of times but my grid is ending up
with an extra empty row. Any ideas why?

 

Ted

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders