[Flashcoders] TextField.tabIndex doesn't work

2007-07-13 Thread Johan Halse
Hello list, I'm having some accessibility headaches. I'm including my movieclips in the tabIndex and using the _accProps object to make JAWS and Windows Narrator read them aloud. That's working great, but I can't seem to apply either tabIndex or _accProps to my textfields (and the textfields,

[Flashcoders] attachMovie from loaded .swf

2007-07-13 Thread Niclas Åberg
Hey guys, I'm loading an external .swf into a main .swf. From the loaded file I can access variables from the main file, create a movie clip in the main file, and use BitmapData to draw shapes to the main file. However, I can't seem to attach a movie clip (a custom component, in fact) from

Re: [Flashcoders] attachMovie from loaded .swf

2007-07-13 Thread Niclas Åberg
Thanks for your reply. I solved it by putting my component in yet another .swf file, which loads fine into the holder clip's _root. Thanks, Niclas Hans Wichman wrote: Hi, not possible, sorry :) Shared libraries might help or creating an empty clip in the loaded swf itself and attaching

[Flashcoders] Object properties not showing up in for..in

2007-07-13 Thread Danny Kodicek
This is weird: trace(tProps.nformat.nalignment) for (var i in tProps.nformat) { trace (i + : + tProps.nformat[i]) } Result: left That is: tProps.nformat.nalignment is equal to left, but the for..in loop is failing to mention it (or any of the other properties in the object). I'm

RE: [Flashcoders] TextField.tabIndex doesn't work

2007-07-13 Thread Johan Halse
Replying to myself here, but I discovered that the tabIndex works flawlessly when TextField.type is set to input. Very strange behavior indeed: the documentation says nothing about tabIndex working only with input fields and google is no help. From what I gather, it's just supposed to work. I've

RE: [Flashcoders] TextField.tabIndex doesn't work

2007-07-13 Thread Andrew Kirkpatrick
Labels are not focusable elements. What version of ActionScript are you using? AWK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Halse Sent: Friday, July 13, 2007 3:03 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders]

Re: [Flashcoders] swfobject and AS3/Player 9

2007-07-13 Thread Jim Berkey
Of course, if the swf is compiled F9/AS3, you would test for F9. You do know that the express install has changed for F9? Now you don't include the express install code in your main swf, but use the provided swf - expressinstall.swf - and reference it this way: div id=flashcontent

Re: [Flashcoders] Object properties not showing up in for..in

2007-07-13 Thread Hans Wichman
Hi, might the properties be hidden from enumeration? http://objectpainters.com/blog/?p=33 greetz JC On 7/13/07, Danny Kodicek [EMAIL PROTECTED] wrote: This is weird: trace(tProps.nformat.nalignment) for (var i in tProps.nformat) { trace (i + : + tProps.nformat[i]) } Result: left

[Flashcoders] class list script

2007-07-13 Thread Hans Wichman
Hi list, I'm looking for a script which given a classpath will generate an .as file with references to all the classes on that classpath. Eg, i do: classReferenceGenerator -cp c:\myclasspath -name nl.trimm.framework.FrameworkClassList and it will generate: class

Re: [Flashcoders] Object properties not showing up in for..in

2007-07-13 Thread Amir T Rocker
If you switched to AS3, teh for in loop does not work on 'sealed' classes, only on the legacy AS2 style prototype based objects - like myObj:Object = { prop: 1 , prop: 2, prop: 3 ...}; For sealed classes like iterating thru the, say, props of a ByteArray or NetStream class, use the

Re: [Flashcoders] attachMovie from loaded .swf

2007-07-13 Thread Hans Wichman
Hi, not possible, sorry :) Shared libraries might help or creating an empty clip in the loaded swf itself and attaching your stuff there. greetz JC On 7/13/07, Niclas Åberg [EMAIL PROTECTED] wrote: Hey guys, I'm loading an external .swf into a main .swf. From the loaded file I can access

RE: [Flashcoders] Simplify point collection

2007-07-13 Thread Smeets, Ben
Cool Jim, tnx. Diving into it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Armstrong Sent: donderdag 12 juli 2007 15:40 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Simplify point collection Not sure if this is what you want,

RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-13 Thread Sunil Jolly
Muzak - I share some of your frustrations though I see why they've done it. So what do people think the best practice for this is? I don't like the idea of not declaring the MCs/Buttons in the class because it's a great help knowing what a class can deal with without having to refer to the Flash

RE: [Flashcoders] Object properties not showing up in for..in

2007-07-13 Thread Danny Kodicek
If you switched to AS3, teh for in loop does not work on 'sealed' classes, only on the legacy AS2 style prototype based objects - like myObj:Object = { prop: 1 , prop: 2, prop: 3 ...}; For sealed classes like iterating thru the, say, props of a ByteArray or NetStream class, use the

Re: [Flashcoders] Gaia Framework v1.0.4 released

2007-07-13 Thread Bojil Vassilev
Hi, I was wondering what happened to Gaia? All traces to it in your blog are erased, and the forum is undergoing maintenance? Will it exist again? Cheers. Steven Sacks написа: Hey everyone! Just wanted to announce the latest version of my Gaia Framework for Adobe Flash. v1.0.4 brings some

Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-13 Thread Muzak
Muzak - I share some of your frustrations though I see why they've done it. Then I'd like to hear 'why', because I can't think of anything. Declaring instances in the class is a must (IMO). As you said, you don't have to look at the fla to know what you're dealing with. Another important thing

Re: [Flashcoders] attachMovie from loaded .swf

2007-07-13 Thread Muzak
http://www.google.com/search?hl=enq=attachmovie+from+loaded+swf - Original Message - From: Niclas Åberg [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Friday, July 13, 2007 12:49 PM Subject: [Flashcoders] attachMovie from loaded .swf Hey guys, I'm loading an external

RE: [Flashcoders] Object properties not showing up in for..in

2007-07-13 Thread Danny Kodicek
might the properties be hidden from enumeration? http://objectpainters.com/blog/?p=33 Nothing like that - it's really a bog-standard object (not even from a special class, just a plain {} ) Danny ___ Flashcoders@chattyfig.figleaf.com To change

RE: [Flashcoders] TextField.tabIndex doesn't work

2007-07-13 Thread Johan Halse
I'm using AS2. Is there another element I can use? - J -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Kirkpatrick Sent: den 13 juli 2007 14:57 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] TextField.tabIndex doesn't work

RE: [Flashcoders] TextField.tabIndex doesn't work

2007-07-13 Thread Andrew Kirkpatrick
One quick and dirty way to cheat is to use a textInput and set it to not be editable and tweak the background alpha so that it looks like static text but it will be tabbable. The other question I have for you is why do these need to be tabbable? If it is just text information JAWS users can get

Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-13 Thread elibol
For the most part, I agree with what Muzak has to say. It appears that if you set an empty public setter function for the property with a private getter, no runtime error is thrown. I'm left wondering why the virtual machine needs to assign children of movieclips as instance named properties. In

Re: [Flashcoders] swfobject and AS3/Player 9

2007-07-13 Thread Count Schemula
Thanks for that. I checked the swfobject website and did not see any information on F9/AS3 testing and upgrading. Did I just miss it? On 7/13/07, Jim Berkey [EMAIL PROTECTED] wrote: Of course, if the swf is compiled F9/AS3, you would test for F9. You do know that the express install has

[Flashcoders] Firefox disappearing act

2007-07-13 Thread cpitts
I tried to find this on the posts archives to no avail so I'm hoping you can kindly direct me to the solution. I have a menu which stays in place in IE but pulls a disappearing act in firefox - dips to black on a select. http://nancybenderinsurance.com/test/agency.html Any ideas? Chris

[Flashcoders] Global Error Handler

2007-07-13 Thread dcamp
I was trying to figure out if there is a way to set up a global error handler. This would catch all errors that will occur in a program. I have tried putting the entry point in a try...catch block and also add listeners to the stage, but I am not able to handle reference errors. If anyone has