Josh, 
 
This will turn off all tabbing within the scope you pass in. I'll have to
think about how to apply it across multiple frames in order to disable
tabbing for an entire file. 
 
function disableTabbing(scope){ 
        for(prop in scope){ 
                trace("\nprop = "+prop); 
                trace("scope[prop] = "+scope[prop]); 
                if(typeof(scope[prop]) == "movieclip" || typeof(scope[prop])
== "object"){ 
                        scope[prop].tabEnabled = false; 
                        disableTabbing(scope[prop]); 
                } 
        } 
}; 
 
// do all your attaching, creating, whatever... 
 
disableTabbing(this);
 
HTH 
 
 
-Keith 
http://home.mn.rr.com/keithreinfeld 
 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Josh
Johnston
Sent: Tuesday, October 10, 2006 11:08 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Turn off all the tabs in a file

The title is pretty self-explanatory. I need to turn
off all of the tabs in a file. I know that someone has
discussed how to do this before, but I couldn't find
it in the archives, so any help is greatly appreciated.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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

Reply via email to