Re: [Flashcoders] attachMovie fails on embedded clip in a movie, why?

2007-06-22 Thread Matthias Dittgen
Hi Chris, I can't follow your code snippets too well, but I try to guess your mistake: You can only attach MovieClips/Symbols with attachMovie, that are available (exported for AS) within the container SWF. Example: MovieClip A.swf contains a MovieClip Symbol S in the library (exported for AS)

[Flashcoders] Selecting All in a TextArea

2007-06-22 Thread Darren Bowers
I am trying to create a Select All button for a textArea component and I cant seem to get the selected text to stay selected. It gains focus, selects the text and then then unselects itself immediately. Am I missing something here? btnSelectAll.onPress = function() {

RE: [Flashcoders] Selecting All in a TextArea

2007-06-22 Thread Danny Kodicek
I am trying to create a Select All button for a textArea component and I cant seem to get the selected text to stay selected. It gains focus, selects the text and then then unselects itself immediately. Am I missing something here? btnSelectAll.onPress = function() {

Re: [Flashcoders] Selecting All in a TextArea

2007-06-22 Thread Darren Bowers
legend :) why is it you never try the obvious things first?... On 22/06/07, Danny Kodicek [EMAIL PROTECTED] wrote: I am trying to create a Select All button for a textArea component and I cant seem to get the selected text to stay selected. It gains focus, selects the text and then then

Re: [Flashcoders] patching MM classes for mtasc

2007-06-22 Thread Hans Wichman
Hi, * to get all swc files, search through your programfiles\macromedia\flash 8 for all swc's * put them in a directory together * install python 2.5 or higher * get http://osflash.org/swcextract/ Feel free to contact me offlist if you have any further questions. greetz JC On 6/21/07,

Re: [Flashcoders] as3 mask leaks scale of hidden area!

2007-06-22 Thread Peter B
Is this normal? Yep. It's always been this way too, rather than this having been introduced in CS3. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] RE: Missing characters in XML

2007-06-22 Thread Danny Kodicek
Never mind - I had the problem exactly right - I forgot Flash always assumes UTF-8. That's okay, I can do it a different way. I'm having trouble reading and writing some characters to XML. I've got a file with . characters and I'm trying to read them and swap them for arrows (u2192). But

[Flashcoders] Missing characters in XML

2007-06-22 Thread Danny Kodicek
I'm having trouble reading and writing some characters to XML. I've got a file with . characters and I'm trying to read them and swap them for arrows (u2192). But for some reason it's not managing to see them (nodeValue.indexOf(.) is giving -1) I think the problem may be something to do with

[Flashcoders] Clashing Class Names

2007-06-22 Thread Michael Trim
Hi Flashcoders, Can somebody confirm my worst suspicions (think I am answering my own question here) swfA loads swfB Both swfs are compiled from separate classpaths but share a similar class structure, so swfA compiles classes like swfAProject/com/UserInterface/Application.as

Re: [Flashcoders] Missing characters in XML

2007-06-22 Thread Chris Tague
you might have to go nodeValue.toString() first.. c. On 6/22/07, Danny Kodicek [EMAIL PROTECTED] wrote: I'm having trouble reading and writing some characters to XML. I've got a file with . characters and I'm trying to read them and swap them for arrows (u2192). But for some reason it's not

RE: [Flashcoders] Clashing Class Names

2007-06-22 Thread David Ngo
You can not have the same classpath/class combinations. So if you were importing inside SWFA SWFB: com.this.is.my.class.path.Class But on the file system, SWFA points to: myproject1/com/this/is/my/class/path/Class.as And SWFB points to: myproject2/com/this/is/my/class/path/Class.as You will

Re: [Flashcoders] Clashing Class Names

2007-06-22 Thread Ian Thomas
Michael, No, you have that backwards, but it's a similar problem -- the _global.Application class _isn't_ overwritten. The flash player operates a class cache -- it always stores (and uses) the first class of a particular classpath/name that it encounters. So in your case, when swfA loads,

RE: [Flashcoders] wmode transparent,disappearing cs3 components and Firefox

2007-06-22 Thread Phil Chung
Kevin, Yes, i've run into this as well. After some testing, i narrowed it down to the fact that the mozilla Flash player doesn't capture RENDER events when wmode = transparent. A bug has been filed with Adobe. In the meantime, this is a fairly significant player bug that does break the CS3

RE: [Flashcoders] Missing characters in XML

2007-06-22 Thread Danny Kodicek
you might have to go nodeValue.toString() first.. No, nodeValue is already a string. I fixed the problem by reading the file in Director and passing it to Flash as a string - one case where Director's lack of Unicode support turned out to be a virtue... Danny

[Flashcoders] Question on old AS1 code

2007-06-22 Thread Vaughn, David (Contractor) (J6B)
Hello all. This is my first post on the group, but I'm a regular member of the FlashNewbies list. I'm a fairly new Flash developer using Flash 8, web player 9, and IE6. Hopefully the members of this list can offer some guidance with a problem. Background: I've been asked to review some old Flash

Re: [Flashcoders] Missing characters in XML

2007-06-22 Thread Steven Sacks
Ha! That is the best case of It's not a bug, it's a feature! I've ever seen. Danny Kodicek wrote: you might have to go nodeValue.toString() first.. No, nodeValue is already a string. I fixed the problem by reading the file in Director and passing it to Flash as a string - one case where

Re: [Flashcoders] patching MM classes for mtasc

2007-06-22 Thread quinrou .
Hans, I will give it a go thx On 6/22/07, Hans Wichman [EMAIL PROTECTED] wrote: Hi, * to get all swc files, search through your programfiles\macromedia\flash 8 for all swc's * put them in a directory together * install python 2.5 or higher * get http://osflash.org/swcextract/ Feel free to

RE: [Flashcoders] Clashing Class Names

2007-06-22 Thread Michael Trim
Hi Ian, Yes a quick replace all in the classes for swfb (with careful checking of the results) has solved the problem for now. (Although having to update all the class paths in the library manually was a pain, I hope this is easier in CS3). Thanks for your reply it's interesting to know that

Re: [Flashcoders] Clashing Class Names

2007-06-22 Thread Muzak
It's not different in CS3 or easier to fix if you mess up. When using as classpath like com.UserInterface you might as well not use one at all. There's nothing unique about it, which it should be. com.projectA.userInterface.MyClass com.projectB.userInterface.MyClass that's what you should aim

RE: [Flashcoders] Missing characters in XML

2007-06-22 Thread Danny Kodicek
Ha! That is the best case of It's not a bug, it's a feature! I've ever seen. Danny Kodicek wrote: you might have to go nodeValue.toString() first.. No, nodeValue is already a string. I fixed the problem by reading the file in Director and passing it to Flash as a string -

Re: [Flashcoders] wmode transparent, disappearing cs3 components and Firefox

2007-06-22 Thread Kevin Newman
Kevin Newman wrote: Has anyone else experienced a problem with using CS3 components along with wmode transparent? I tried that recently, and the CS3 widget I was using (List) simply will not show up if wmode is set to transparent in Firefox (Firefox 2.0.0.4 on Windows - opaque works fine).

Re: [Flashcoders] wmode transparent,disappearing cs3 components and Firefox

2007-06-22 Thread Kevin Newman
Hey Phil, Thanks for the info. I think your attachment was stripped, could you point me to the class file and line number? I found a UIComponent.as file here: C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\User Interface\fl\core I replaced all

RE: [Flashcoders] wmode transparent,disappearing cs3 components andFirefox

2007-06-22 Thread Phil Chung
Crap, i should have known. If you replaced Event.RENDER with Event.ENTER_FRAME it should work. If its not taking, try making a copy of UIComponent, and set up the directory structure (fl/core/) in your project folder and it should use that version instead of the compiled version. Phil

Re: [Flashcoders] Question on old AS1 code

2007-06-22 Thread Andy Herrman
The HTTP vs HTTPS stuff should be completely handled by the browser, so I don't think the plugin would have any issues. One thing I find helpful for debugging these kinds of problems is Fiddler (http://www.fiddlertool.com/fiddler/). This will log all requests IE makes and the responses to them.