all groups > flash actionscript > november 2005 >
You're in the

flash actionscript

group:

Refrence a symbol in a window component!


Refrence a symbol in a window component! redl3tt3r
11/30/2005 11:33:28 PM
flash actionscript:
Greetings yall,

I am trying to reference a movie clip inside a widow component that
dynamically loads from the library does anyone know the proper way of
referencing the symbol?

The clip is set up properly and worked quite well. I have attached my code.

Also, doses anyone know how to make is so you can still click on the movie in
the background when you have made the window popup.

-redLetter

aButtonToClick.onRelease = function () {
makeWindow("Solenoid Sequence Chart", "solChart", 306.8, 429.5, 1024-326.8,
20);
};

function makeWindow(t:String, c:String, height:Number, width:Number, x:Number,
y:Number) {
picWindow2 = mx.managers.PopUpManager.createPopUp(_root,
mx.containers.Window, true,
{title: t, contentPath: c, closeButton:true});
picWindow2.setSize(height, width);
picWindow2.move(x, y);
picWindow2Listener = new Object();
picWindow2Listener.click = function() {
picWindow2.deletePopUp();
};
picWindow2.addEventListener("click", picWindow2Listener);
};
Re: Refrence a symbol in a window component! redl3tt3r
12/2/2005 6:46:50 PM
AddThis Social Bookmark Button