Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Stumped - Window Component

Stumped - Window Component

2004-03-09       - By Clint Tredway

 Back
Reply:     1     2     3     4  

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.