| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
|
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!!! |
|
|
|
![]() |