[Flashcoders] [AS3] TextField Bug: Text outside of the TF

2008-09-26 Thread Benicio del Toro
hi, I ve'got an input TextField. What I want to do is to reset the TF content and put some prompt text inside, which I set using AS (e.g. 'your email' prompt). The problem: If before resetting the TF, the text in it is longer than the TF width, Flash doesn't put the prompt text where it is

RE: [Flashcoders] Problems creating a drag and drop

2008-09-26 Thread Gregory Boudreaux
Is your target a movieClip with a graphic inside? Try this... for (index= 0; index count; index++) { trace(aButtons[index].dropTarget.parent); } gregb -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lord, Susan, CTR, DSS Sent: Thursday,

[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 David Rogers
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

RE: [Flashcoders] Problems creating a drag and drop

2008-09-26 Thread Lord, Susan, CTR, DSS
Turns out it was a layering issue with my movie clips. Also, of course, add the listener to the stage instead of to the button. It works great! :) Thanks so much for all your feedback. You all really helped me think of new places to troubleshoot. :) I just had to post my final coding,

[Flashcoders] favourite programming environment

2008-09-26 Thread Allandt Bik-Elliott (Receptacle)
I'm sure it's been asked before but as these things change over time, i thought it worth rehashing now what's your favourite coding environment? I really like FlashDevelop but because I'm on a mac, I've been looking into other options (although FD with parallels is a pretty good setup).

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

Re: [Flashcoders] favourite programming environment

2008-09-26 Thread eric e. dolecki
I like TextMate on the Mac. On Fri, Sep 26, 2008 at 10:38 AM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: I'm sure it's been asked before but as these things change over time, i thought it worth rehashing now what's your favourite coding environment? I really like

Re: [Flashcoders] favourite programming environment

2008-09-26 Thread Paul Andrews
- Original Message - From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] To: flashcoders flashcoders@chattyfig.figleaf.com Sent: Friday, September 26, 2008 3:38 PM Subject: [Flashcoders] favourite programming environment I'm sure it's been asked before but as these things change

[Flashcoders] possible to export a .swf or .flv from a .swf running in the player (without a streaming media server)?

2008-09-26 Thread BOYD SPEER
I am just getting into AS3 and would like to know if it is possible to programmatically create a movieclip and populate the timeline frames of that clip with a series of bitmaps captured from a portion of the stage image, and then save or export this mc to the disk (or send to a server) as a

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

2008-09-26 Thread sebastian
If both the text and the image need to scroll, put both of them in a MC that is itself scrollable and remove the scrolling from the nested text field. Lehr, Theodore M (N-SGIS) wrote: 1 sounds a little more involved than I want to get... 2 was my first approach, but I end up with a

Re: [Flashcoders] [AS3] TextField Bug: Text outside of the TF

2008-09-26 Thread sebastian
Check alignment and check how you are creating the text fields. This sounds like an issue with how you are placing and coding the text fields. Benicio del Toro wrote: hi, I ve'got an input TextField. What I want to do is to reset the TF content and put some prompt text inside, which I set

Re: [Flashcoders] possible to export a .swf or .flv from a .swf running in the player (without a streaming media server)?

2008-09-26 Thread sebastian
captured from a portion of the stage what does that mean? are you making these screen shots yourself? or do you expect the code you write to also take screen shots of its own output? BOYD SPEER wrote: I am just getting into AS3 and would like to know if it is possible to programmatically

Re: [Flashcoders] [AS3] TextField Bug: Text outside of the TF

2008-09-26 Thread eric e. dolecki
turn the border on for the TF and see where it really is. On Fri, Sep 26, 2008 at 1:06 PM, sebastian [EMAIL PROTECTED] wrote: Check alignment and check how you are creating the text fields. This sounds like an issue with how you are placing and coding the text fields. Benicio del Toro wrote: