Re: [Flashcoders] Flash 8 Accessibility Panel Bug?

2007-07-04 Thread Jer Brand

Good to know the work around. I guessed that you could escape characters,
but the idea that the IDE needs escaping is, well, silly. Interestingly,
flash doesn't have a problem with quotes that come from MS Word (curly
quotes).  Playing around, quotes seem to be the only character I can make
the Accessibility Panel choke on.

Now to figure out how to explain escape your quotes to my assemblers.

On 7/4/07, vivek [EMAIL PROTECTED] wrote:


Hi,

If I am not wrong flash is taking  as a special character. To use  as a
normal character use \ before . This will remove the special meaning of 
and will be used as a normal character.

Eg: Set the .name property to:  This is a \dummy\ test movie

I have tested it with Jaws 7.0 and Jaws 8.0




Thanks  Regards
Vivek Gaikwad
Flash Accessibility Developer
www.n-syst.com




-Original Message-
From: Jer Brand [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 04, 2007 1:12 AM
To: flashcoders@chattyfig.figleaf.com; Jer
Subject: [Flashcoders] Flash 8 Accessibility Panel Bug?

Not sure if this is new, or if I'm just doing something stupid so I'm
asking
the experts:

If you include a Name or Description property in the Accessibility
Panel
that includes quotes ( ), the _accProps Object for that MovieClip is not
created.

Has anyone else seen this? Am I just late to the party on it?

I ran into this when creating a class that would create key listeners for
any MovieClip that had an onRelease method and had it's _accProps.shortcut
set to a keyboard shortcut (parsing the ctrl+, shift+, etc). I've been
beating my head against the wall all day, and finally figured out the only
difference between the MovieClips that were working as planned and those
that failed were that the name or description had quotes.

My Mistake or Flash's mistake?  Anyone know if it's been reported (not
that
I expect a fix, it's Flash 8, Does CS3 do this?)


I built a little test case to confirm, and if anyone's interested in
pointing out my mistake or just checking my work, feel free.


Steps to re-create:

1: Create a movie with one MovieClip on Stage (contents are unimportant)
named test_mc
2: Open the Accessibility panel and set the properties for this movie as
follows:
  a)  Make Object Accessible   checked
  b)  Make child objects accessible  *unchecked*
  c)  Set the name value to be: This is a dummy test
Movie
  d)  Set the description value to be: Description goes here
  e)  Set the shortcut field to be:   A
  f)   Set the Tab index field to be  1
3) Place the following code on frame 1

this.onLoad = function()
{
this.onEnterFrame = init ;
}
function init()
{
this.onEnterFrame = null ;
delete this.onEnterFrame ;
trace(test_mc._accProps.name)
trace(test_mc._accProps.description)
trace(test_mc._accProps.silent)
trace(test_mc._accProps.forceSimple)
trace(test_mc._accProps.shortcut) ;
}


The output of this is:

undefined
undefined
undefined
undefined
undefined

Remove the quotes and the output is:

This is a dummy test Movie
Description goes here
undefined
true
A
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash 8 Accessibility Panel Bug?

2007-07-03 Thread vivek
Hi,

If I am not wrong flash is taking  as a special character. To use  as a
normal character use \ before . This will remove the special meaning of 
and will be used as a normal character.

Eg: Set the .name property to:  This is a \dummy\ test movie

I have tested it with Jaws 7.0 and Jaws 8.0




Thanks  Regards
Vivek Gaikwad
Flash Accessibility Developer
www.n-syst.com




-Original Message-
From: Jer Brand [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 04, 2007 1:12 AM
To: flashcoders@chattyfig.figleaf.com; Jer
Subject: [Flashcoders] Flash 8 Accessibility Panel Bug?

Not sure if this is new, or if I'm just doing something stupid so I'm asking
the experts:

If you include a Name or Description property in the Accessibility Panel
that includes quotes ( ), the _accProps Object for that MovieClip is not
created.

Has anyone else seen this? Am I just late to the party on it?

I ran into this when creating a class that would create key listeners for
any MovieClip that had an onRelease method and had it's _accProps.shortcut
set to a keyboard shortcut (parsing the ctrl+, shift+, etc). I've been
beating my head against the wall all day, and finally figured out the only
difference between the MovieClips that were working as planned and those
that failed were that the name or description had quotes.

My Mistake or Flash's mistake?  Anyone know if it's been reported (not that
I expect a fix, it's Flash 8, Does CS3 do this?)


I built a little test case to confirm, and if anyone's interested in
pointing out my mistake or just checking my work, feel free.


Steps to re-create:

1: Create a movie with one MovieClip on Stage (contents are unimportant)
named test_mc
2: Open the Accessibility panel and set the properties for this movie as
follows:
  a)  Make Object Accessible   checked
  b)  Make child objects accessible  *unchecked*
  c)  Set the name value to be: This is a dummy test Movie
  d)  Set the description value to be: Description goes here
  e)  Set the shortcut field to be:   A
  f)   Set the Tab index field to be  1
3) Place the following code on frame 1

this.onLoad = function()
{
this.onEnterFrame = init ;
}
function init()
{
this.onEnterFrame = null ;
delete this.onEnterFrame ;
trace(test_mc._accProps.name)
trace(test_mc._accProps.description)
trace(test_mc._accProps.silent)
trace(test_mc._accProps.forceSimple)
trace(test_mc._accProps.shortcut) ;
}


The output of this is:

undefined
undefined
undefined
undefined
undefined

Remove the quotes and the output is:

This is a dummy test Movie
Description goes here
undefined
true
A
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com