  | |  | Stumped - Window Component | Stumped - Window Component 2004-03-09 - By Clint Tredway
Back Hey flashers...
I am loading a movie clip into a window component as a popup. I am sending a dynamic textbox a string from the parent to the movie clip, but the text box is not showing the sent text. I am tracing this out in the movie clip and it traces fine, it just doesn't show the sent text.
Here is my function function showTitle(title){ trace("function run"); trace(title); taskTitle.text = title; }
Here is how I am sending it: task_lst.change = function(evt){ var t = evt.target; var i = t.selectedItem; // Work out position var x = 10; var y = 140; // Create popup var taskWindow = mx.managers.PopUpManager.createPopUp(_root,mx.containers.Window,true,{conten tPath:"taskDetail", title:i.TaskTitle, _x:x, _y:y}); // Set window size taskWindow.setSize(600, 450); // Save window instance (so it can be closed later) _root.taskInstance=taskWindow; //set the title taskDetail_mc.showTitle("Hello"); }
task_dg.addEventListener("change",task_lst);
I would appreciate any help.
Thanks, Clint
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106481 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |