RE: [Flashcoders] MultiLanguage

2008-01-23 Thread Kerry Thompson
Dave Mennenoh wrote: > Gotcha. This is fairly new to me so I've been reading as much as I can. I > found that true type fonts, like regular Arial, adhere to Unicode standards. > In Flash, if I use Arial I can embed Korean (Hangul), and a few different > Chinese glyphs. However, I cannot see the i

[Flashcoders] missing glyphs

2008-01-23 Thread Mendelsohn, Michael
Hi list... I've embedded a font that I confirmed in Windows' character map that it has the glyphs for ≤ and ≥. These glyphs trace fine, but they don't appear in my textField. Any idea what I'm missing? Thanks, - Michael M. var objMarkText:TextField = _root.createTextField("tf", 1, 0, 0, 1,

Re: [Flashcoders] MultiLanguage

2008-01-23 Thread Dave Mennenoh
It's essential that you use a Unicode font--I use Arial Unicode for Asian languages, because it has all the languages I typically need. Embed the font, of course. Gotcha. This is fairly new to me so I've been reading as much as I can. I found that true type fonts, like regular Arial, adhere to

Re: [Flashcoders] Form AS3 - variable name brackets []

2008-01-23 Thread Cory Petosky
Try: variables["group_ids[]"] = String('2'); On 1/23/08, Cor <[EMAIL PROTECTED]> wrote: > Hi Nick, > > group_ids[] indicates that you are referencing an Array, and it also needs a > index. > > HTH > Cor > > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namen

[Flashcoders] BitmaData.paletteMap inspiration

2008-01-23 Thread Matthias Dittgen
Hello, I would like to swap a colorgradient (red to darker red) in bitmaps to another gradient using paletteMap, but I can't figure it out. I am able of greyscale aand other more simple effects, but the nearest I get, was to cut colors that have a huge part of red, but that also effects lighter co

Re: [Flashcoders] Problem targeting a movieclip

2008-01-23 Thread Bob Leisle
Hi Marcelo, You could store references to the clips in the array instead of String paths. Then you could access them directly with trace(text_area_array[1]); If you need help doing that, post the code you use to store the paths in the array. hth, Bob Marcelo Wolfgang wrote: Hi list, I'm tr

Re: [Flashcoders] for statement stumper

2008-01-23 Thread Helmut Granda
no the proper way to do it but you can add a dynammic variable to your button: for (var j = 0; j<5; j++) { trace("j is"+j); this["clip"+j]["button"+j].value = j this["clip"+j]["button"+j].onRollOver = function() { Tweener.addTween(this._parent,{_xscale:100, _yscale:100, delay:0, time:2

Re: [Flashcoders] for statement stumper

2008-01-23 Thread Bob Leisle
Hi Dwayne, You're right it won't be the same. You need to store the value in each button, for retrieval when the functions are executed. Try something like this instead: for (var j = 0; j<5; j++) { trace("j is"+j); this["clip"+j]["button"+j].nbrID = j; this["clip"+j]["button"+j].onRo

RE: [Flashcoders] Problem targeting a movieclip

2008-01-23 Thread Merrill, Jason
At a quick glance, one thing is you have: areaLoader_mc in one statement and areaLoader in another... Also, if your array has "myClip.myOtherClip" - I don't think array access will work that way and translate "." for you. You would have to do: this[array[3]][otherArray[6]]

RE: [Flashcoders] MultiLanguage

2008-01-23 Thread Kerry Thompson
Dave Mennenoh wrote: > Little update - I guess it is the font. I tried Lucida Sans Unicode and now > the Chinese displays OK. However the Korean still shows boxes... Geez. I was > hoping to not have to buy the Arial Unicode font, it's not on my system... Microsoft claims that Arial Unicode comes

RE: [Flashcoders] for statement stumper

2008-01-23 Thread Merrill, Jason
When you do: >>this["clip"+j]["button"+j].onRollOver = function() { You are assigning the clip's onRollOver even to an anonymous function. So the variable "j" is not known inside the function. To overcome this, it is recommended you do not use anonymous functions, but use (and I assume you a

Re: [Flashcoders] Classes added

2008-01-23 Thread slangeberg
to save typing, merely hit control - enter when you start instantiating, and code completion will enter the import for you, such as: var c:DisplayOb...(ctrl-entr)... -Scott On Jan 15, 2008 3:42 PM, Merrill, Jason <[EMAIL PROTECTED]> wrote: > >>2) It makes it much easier to tell, at a glance, wh

Re: [Flashcoders] for statement stumper

2008-01-23 Thread Hans Wichman
Hi, without going into activation objects or what're called and scope issues, i'd go with: for (var j = 0; j<5; j++) { trace("j is"+j); this["clip"+j]["button"+j].myJ = j; this["clip"+j]["button"+j].onRollOver = function() { Tweener.addTween(this._parent,{_xscale:100, _yscale:100, del

[Flashcoders] Problem targeting a movieclip

2008-01-23 Thread Marcelo Wolfgang
Hi list, I'm trying to access multiple movieclips that path names are stored in an array, this array is populated with the names when an area load and its cleaned when an area unload. Here's the code I have so far: trace(thisRoot.areaLoader_mc.txt_galeria_mc); // if I delete this the next one tr

RE: [Flashcoders] Form AS3 - variable name brackets []

2008-01-23 Thread Cor
Hi Nick, group_ids[] indicates that you are referencing an Array, and it also needs a index. HTH Cor -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Nick Terry Verzonden: woensdag 23 januari 2008 7:36 Aan: Flash Coders List Onderwerp: [Flashcoders] Form

Re: [Flashcoders] MultiLanguage

2008-01-23 Thread Dave Mennenoh
Little update - I guess it is the font. I tried Lucida Sans Unicode and now the Chinese displays OK. However the Korean still shows boxes... Geez. I was hoping to not have to buy the Arial Unicode font, it's not on my system... Dave - Head Developer http://www.blurredistinction.com Adobe Commun

[Flashcoders] Form AS3 - variable name brackets []

2008-01-23 Thread Nick Terry
Hello, I'm trying to set up a newsletter, sending some variables to a PHP script in AS3. The problem is that one of the variable Name/IDs has brackets [] in it and flash does not like this, so I've put the variable in the URLRequest - but it doesn't work either. I'm interested if anyone has

[Flashcoders] for statement stumper

2008-01-23 Thread Dwayne Neckles
Gang here is a stumper for you.. When in the first trace statement j is 0 through 4 but in the second trace statement j is 4, 4 times... ive been playing with this for days.. so i guess the j value is not the same inside a nested function.. what can i do to make it the same? for (var j = 0;