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)
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() {
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() {
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
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,
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:
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
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
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
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
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
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,
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
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
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
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
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
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
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
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 -
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).
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
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
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.
24 matches
Mail list logo