On Thu, Mar 11, 2010 at 9:25 AM, Paul Andrews <[email protected]> wrote:

> function onClick(e:Event):void{
>        trace("navigate to "+e.currentTarget.url);
>

The blasted thing traced the url without ".html" at the end...again!! What
could possibly be causing this behavior? When I trace Btn.url in the
function where it is created, it correctly traces with the ".html" tag. Why
on earth would it be stripped in the onMouseClick function?? Here's the
pertinent from that fn:

function onPressHandler(e:MouseEvent)
{
if (e.currentTarget.name == ' Home ')
{
Navigation(' Home ', 'index', 235, 0xffffff);
Navigate.to(e.currentTarget.getChildAt(1).text + '.html');
trace(e.currentTarget.url);
...

Please advise.
TIA,
Susan
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to