flexcoders  

Re: [flexcoders] cursor priority problems

Manish Jethani
26 Feb 2005 21:53:38 -0000

Andrew Spaulding wrote:

For example the loaded app has a HDividedBox and when i place the
mouse over the resize bar it disappears! I also have this same
behaviour in my custom component, even when setting the cursor to the
highest priority.

Is there a workaround for this?

I just posted this to another thread, but here again:

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";>
<mx:HDividedBox width="0" height="0" />
<!-- subapp contains HDividedBox whose
resize handle is now showing -->
<mx:Loader source="subapp.swf" />
</mx:Application>

The asset needs to be in the main SWF. You can also embed it directly:

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";>

<mx:Script>
// Pull this in because it's needed by a subapp
[Embed(symbol="mx.skins.cursor.HBoxDivider")]
var hBoxDividerAsset:String;
</mx:Script>

<!-- subapp contains HDividedBox whose
resize handle is now showing -->
<mx:Loader source="subapp.swf" />
</mx:Application>

Manish