Re: [Flashcoders] Disabling Nested MCs?

2006-10-03 Thread Kevin Cannon

Hey,

I'm using Laco's tweens, but maybe it has something similar. I'll look into it.

Thanks for the pointer.

- Kevin

On 02/10/06, Rich Rodecker [EMAIL PROTECTED] wrote:

just add the map._visible = false part to after the tween ends.  If you're
using the built in Tween class there is an onMotionFinished event handler
you can use on the tween, and pretty much most of the other tweening engines
have something comparable.

On 10/2/06, Kevin Cannon [EMAIL PROTECTED] wrote:

 Hi Jake,

 Ahh, I so that's how you do it. I think the current way I have tweens
 working won't allow be to easily do that, but when I start using Fuse
 Kit it should be a doddle.

 Thanks,

 - Kevin

 On 02/10/06, Jake Prime [EMAIL PROTECTED] wrote:
  Hi Kevin
 
  Try:
 
  map._visible = false;
 
  This will disable all buttons in map, and if the whole map is 0 alpha
  anyway will make no visible difference.
 
  Jake
 
  On 02/10/06, Kevin Cannon [EMAIL PROTECTED] wrote:
   Hi,
  
   I have an interactive map with various clickable countries on it. At
   certain times the map fades out to alpha = 0.
  
   When that happens the country movieclips are still clickable so I need
   to disable them.
  
   I expected map.enabled = false; to do it, but it seems to have no
   effect since the map movieclip itself has no actions.
  
   If there a way to disable the nested MCs without having to do it by
   manually disabling them all? I don't want to reinvent the wheel if
   there's a native way of doing it.
  
   Thanks,
  
   - Kevin
  ___
  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


___
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] Disabling Nested MCs?

2006-10-03 Thread Adrian Ionut Beschea
you can create an invisible button on top large enough to fit your map
If you're bothered by the mouse pointer symbol try:
invisible_btn.useHandCursor = false;



Kevin Cannon [EMAIL PROTECTED] wrote: Hey,

I'm using Laco's tweens, but maybe it has something similar. I'll look into it.

Thanks for the pointer.

- Kevin

On 02/10/06, Rich Rodecker  wrote:
 just add the map._visible = false part to after the tween ends.  If you're
 using the built in Tween class there is an onMotionFinished event handler
 you can use on the tween, and pretty much most of the other tweening engines
 have something comparable.

 On 10/2/06, Kevin Cannon  wrote:
 
  Hi Jake,
 
  Ahh, I so that's how you do it. I think the current way I have tweens
  working won't allow be to easily do that, but when I start using Fuse
  Kit it should be a doddle.
 
  Thanks,
 
  - Kevin
 
  On 02/10/06, Jake Prime  wrote:
   Hi Kevin
  
   Try:
  
   map._visible = false;
  
   This will disable all buttons in map, and if the whole map is 0 alpha
   anyway will make no visible difference.
  
   Jake
  
   On 02/10/06, Kevin Cannon  wrote:
Hi,
   
I have an interactive map with various clickable countries on it. At
certain times the map fades out to alpha = 0.
   
When that happens the country movieclips are still clickable so I need
to disable them.
   
I expected map.enabled = false; to do it, but it seems to have no
effect since the map movieclip itself has no actions.
   
If there a way to disable the nested MCs without having to do it by
manually disabling them all? I don't want to reinvent the wheel if
there's a native way of doing it.
   
Thanks,
   
- Kevin
   ___
   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

___
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



-
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small 
Business.
___
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] Disabling Nested MCs?

2006-10-03 Thread Jake Prime

Hi Kevin,

Using Laco's tweens you can pass a callback function to be called when
the tween is complete. For example something like this:

function disableMap () {
 map._visible = false;
}

map.alphaTo( 0, 2, linear, 0, disableMap );

Jake

On 03/10/06, Kevin Cannon [EMAIL PROTECTED] wrote:

Hey,

I'm using Laco's tweens, but maybe it has something similar. I'll look into it.

Thanks for the pointer.

- Kevin

On 02/10/06, Rich Rodecker [EMAIL PROTECTED] wrote:
 just add the map._visible = false part to after the tween ends.  If you're
 using the built in Tween class there is an onMotionFinished event handler
 you can use on the tween, and pretty much most of the other tweening engines
 have something comparable.

 On 10/2/06, Kevin Cannon [EMAIL PROTECTED] wrote:
 
  Hi Jake,
 
  Ahh, I so that's how you do it. I think the current way I have tweens
  working won't allow be to easily do that, but when I start using Fuse
  Kit it should be a doddle.
 
  Thanks,
 
  - Kevin
 
  On 02/10/06, Jake Prime [EMAIL PROTECTED] wrote:
   Hi Kevin
  
   Try:
  
   map._visible = false;
  
   This will disable all buttons in map, and if the whole map is 0 alpha
   anyway will make no visible difference.
  
   Jake
  
   On 02/10/06, Kevin Cannon [EMAIL PROTECTED] wrote:
Hi,
   
I have an interactive map with various clickable countries on it. At
certain times the map fades out to alpha = 0.
   
When that happens the country movieclips are still clickable so I need
to disable them.
   
I expected map.enabled = false; to do it, but it seems to have no
effect since the map movieclip itself has no actions.
   
If there a way to disable the nested MCs without having to do it by
manually disabling them all? I don't want to reinvent the wheel if
there's a native way of doing it.
   
Thanks,
   
- Kevin
   ___
   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

___
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] Disabling Nested MCs?

2006-10-02 Thread Jake Prime

Hi Kevin

Try:

map._visible = false;

This will disable all buttons in map, and if the whole map is 0 alpha
anyway will make no visible difference.

Jake

On 02/10/06, Kevin Cannon [EMAIL PROTECTED] wrote:

Hi,

I have an interactive map with various clickable countries on it. At
certain times the map fades out to alpha = 0.

When that happens the country movieclips are still clickable so I need
to disable them.

I expected map.enabled = false; to do it, but it seems to have no
effect since the map movieclip itself has no actions.

If there a way to disable the nested MCs without having to do it by
manually disabling them all? I don't want to reinvent the wheel if
there's a native way of doing it.

Thanks,

- Kevin

___
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] Disabling Nested MCs?

2006-10-02 Thread Kevin Cannon

Hi Jake,

Ahh, I so that's how you do it. I think the current way I have tweens
working won't allow be to easily do that, but when I start using Fuse
Kit it should be a doddle.

Thanks,

- Kevin

On 02/10/06, Jake Prime [EMAIL PROTECTED] wrote:

Hi Kevin

Try:

map._visible = false;

This will disable all buttons in map, and if the whole map is 0 alpha
anyway will make no visible difference.

Jake

On 02/10/06, Kevin Cannon [EMAIL PROTECTED] wrote:
 Hi,

 I have an interactive map with various clickable countries on it. At
 certain times the map fades out to alpha = 0.

 When that happens the country movieclips are still clickable so I need
 to disable them.

 I expected map.enabled = false; to do it, but it seems to have no
 effect since the map movieclip itself has no actions.

 If there a way to disable the nested MCs without having to do it by
 manually disabling them all? I don't want to reinvent the wheel if
 there's a native way of doing it.

 Thanks,

 - Kevin
___
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] Disabling Nested MCs?

2006-10-02 Thread Rich Rodecker

just add the map._visible = false part to after the tween ends.  If you're
using the built in Tween class there is an onMotionFinished event handler
you can use on the tween, and pretty much most of the other tweening engines
have something comparable.

On 10/2/06, Kevin Cannon [EMAIL PROTECTED] wrote:


Hi Jake,

Ahh, I so that's how you do it. I think the current way I have tweens
working won't allow be to easily do that, but when I start using Fuse
Kit it should be a doddle.

Thanks,

- Kevin

On 02/10/06, Jake Prime [EMAIL PROTECTED] wrote:
 Hi Kevin

 Try:

 map._visible = false;

 This will disable all buttons in map, and if the whole map is 0 alpha
 anyway will make no visible difference.

 Jake

 On 02/10/06, Kevin Cannon [EMAIL PROTECTED] wrote:
  Hi,
 
  I have an interactive map with various clickable countries on it. At
  certain times the map fades out to alpha = 0.
 
  When that happens the country movieclips are still clickable so I need
  to disable them.
 
  I expected map.enabled = false; to do it, but it seems to have no
  effect since the map movieclip itself has no actions.
 
  If there a way to disable the nested MCs without having to do it by
  manually disabling them all? I don't want to reinvent the wheel if
  there's a native way of doing it.
 
  Thanks,
 
  - Kevin
 ___
 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