RE: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread Stacey Mulcahy
2006 8:23 AM To: FlashCoders list Subject: Re: [Flashcoders] weirdness passing string to text field Back again. Well, I *thought* it was working... What do you guys make of a situation where a movie works in Test Movie but not from the web server? Here's the deal: variable1:String

Re: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread Rick Lecoat
Call off the hounds, I've solved it. it turns out that when the a nested movie clip called the variables it called them from one nesting level up, and I'd coded that as _root.variable. Flash was fine with that in testing, but the browser plugin didn't like it. Once I'd changed the path to _parent

Re: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread Rick Lecoat
Back again. Well, I *thought* it was working... What do you guys make of a situation where a movie works in Test Movie but not from the web server? Here's the deal: variable1:String populates textField1 (initial value = " ") variable2:String populates textField2 (initial value = " ") variable3:

Re: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread Adrian Park
Glad to be of help Rick. On the font embedding thing v. the font being installed on your machine, I'm pretty sure that if you specify a font but don't embed any characters then Flash will use the installed font but if you embed then Flash will only look to the embedded characters for display and

Re: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread janosch
Danny Kodicek schrieb: Chris: Thanks for elaborating on the restrict issue. Looks like I won't need to explore it just yet, but it's good to know about. (Since I'm very new to the Flash/Actionscript thing and am learning 'on the job' with a project deadline looming I'm being pragmatic and just l

RE: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread Danny Kodicek
> Chris: Thanks for elaborating on the restrict issue. Looks like I won't > need to explore it just yet, but it's good to know about. (Since I'm > very new to the Flash/Actionscript thing and am learning 'on the job' > with a project deadline looming I'm being pragmatic and just learning > the bits

Re: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread Rick Lecoat
Ian and Adrian; You hit the nail on the head; it was indeed a lack of embedded characters and my own stupid fault because whilst I *had* embedded the characters for the intended usage (uppercase only) I neglected to stick to those when I was running my trouble shooting tests, and included lowercas

Re: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread NEILHIGHLEY . COM
textfield has a retrict value that acts as a filter. Chris is saying that it may have a value in there already, probably something with the following letters: "M J O E" as the Executive is being filtered down to only e's as the other letters are not in the filter. btw, what is output when you tra

Re: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread Chris Velevitch
There's an attibute on TextField called restrict. It takes a regular expression of all the characters that are allowed to be entered into the field. Try setting it to null. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au _

Re: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread Adrian Park
This sounds to me like what happens if you embed a certain set of characters in the field but then pass it a String including characters you haven't explicitly embedded. I'm guessing you may have pasted a string into the "Include these characters:" field in the "Character Embedding" window? If so,

Re: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread Ian Thomas
One possibility might be that you're using an embedded font, but haven't embedded all the characters in that font. HTH, Ian On 7/5/06, Rick Lecoat <[EMAIL PROTECTED]> wrote: Hi, I'm trying to pass a sting variable (var teamName:String) to a dynamic text field nested inside a couple of layers

Re: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread Rick Lecoat
Chris, thanks for your speedy reply (I guess that if I was going to get a reply at 8.30 in the morning UK time it would have been from Australia!) Like I said in my initial post, I'm completely new to Actionscript (and all of Flash, really) and so your response, whilst I am sure it is the correct

Re: [Flashcoders] weirdness passing string to text field

2006-07-05 Thread Chris Velevitch
Sounds like restrict is not null. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.co