remoting issues 2004-02-26 - By Adaryl Wakefield
Back This thing is kicking my butt.
function showFeedback(){ trace(result.items[1].actFeeback); // this traces as undefined!!! WTF?? <<--problem here }
function over(){ this.interaction_txt.textColor = 0xFF0000; } function out(){ this.interaction_txt.textColor = 0x000000; } increment = 180; function pullData_result(result){ for (i=0; i < result.getLength(); i++){
interaction_mc.duplicateMovieClip("interaction"+i+"_mc", i); this["interaction"+i+"_mc"].interaction_txt.text = result.items[i].actFeedback; //this comes out all right <--no problem here this["interaction"+i+"_mc"]._y = increment; this["interaction"+i+"_mc"].onRollOver = over; this["interaction"+i+"_mc"].onRollOut = out; this["interaction"+i+"_mc"].onMouseDown = showFeedback; increment = increment + 40
} }
Adaryl "Did you reboot?" Wakefield Aviator by passion Programmer by sheer force of will
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
|
|