Old 30-05-2005, 17:59   #1 (permalink)
Anees
Registered User
 
Join Date: May 2004
Location: London
Posts: 15
Send a message via MSN to Anees
get src actionscript function

I am using an open source flash xml directory in which the following getsrc function doesnt work:

function handleEntryPress()
{
if(!this.entry.selected)
{
for(i = 0; i < _root.keys.length; i++)
{
var c = _root.keys[i];
for(j = 0; j < c.entries.length; j++)
{
c.entries[j].selected = false;
c.entries[j].mc.mcHighlight._visible = false;
}
}
this.entry.selected = true;
this._parent.mcHighlight._visible = true;

//Set the source appropriately
var s = "javascript:setSRC('" + this.entry.src + "'); void(0)";
getURL(s);

//Set the title
var lc = new LocalConnection();
lc.send("lcTitle", "changeTitle", "anees" + "|" + this.entry.name);
delete lc;
}

}

which works in conjunction with this xml tag:

<entry name="newstoday_" added="20-05-2005" src="http://www.newstoday.com"/>

It doesn't work at all on a PC an throws a javascript error in Safari.

Please Help!!!
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8