0
Problems with the componnet Window
New Here
,
/t5/animate-discussions/problems-with-the-componnet-window/td-p/20607
Jul 03, 2006
Jul 03, 2006
Copy link to clipboard
Copied
hey, Ev'rybody, I'm having a trouble with my componnet Window
in my site... I made a pop-up window and I turn on the close button
in the window, but when I press the window doesn't desappear,
please help me because I don't know what I must do,
You can see it here
Just it has a trouble, the website is only in spanish... but make a click in Entrar al Site, and after that make click over the text next to the third star where you can read "De campamento", the window appear, but you can close it... what can I do?, please help
Thanx have a great Day
You can see it here
Just it has a trouble, the website is only in spanish... but make a click in Entrar al Site, and after that make click over the text next to the third star where you can read "De campamento", the window appear, but you can close it... what can I do?, please help
Thanx have a great Day
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Dj____God_Lov____
AUTHOR
New Here
,
/t5/animate-discussions/problems-with-the-componnet-window/m-p/20608#M321002
Jul 07, 2006
Jul 07, 2006
Copy link to clipboard
Copied
Ok, the window isn't the first one... because I made it in
Java, and that is not the trouble, the problem that I have is with
the Window Flash componnet...
Please help me!!!!
Please help me!!!!
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explorer
,
/t5/animate-discussions/problems-with-the-componnet-window/m-p/20609#M321003
Jul 07, 2006
Jul 07, 2006
Copy link to clipboard
Copied
What does your code look like? you'll probably need to create
an eventListener to close the popup window.
The following code should be within the code you used to create your popup window.
var win = new Object();
win.click = function(evt){
yourPopUpInstanceName.deletePopUp();
yourPopUpInstanceName.addEventListener("click",win);
}
The following code should be within the code you used to create your popup window.
var win = new Object();
win.click = function(evt){
yourPopUpInstanceName.deletePopUp();
yourPopUpInstanceName.addEventListener("click",win);
}
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Dj____God_Lov____
AUTHOR
New Here
,
/t5/animate-discussions/problems-with-the-componnet-window/m-p/20610#M321004
Jul 17, 2006
Jul 17, 2006
Copy link to clipboard
Copied
Thanks peeper...
I resolve mny prblem with your advice.
My code looks like this:
// With this code I made the popUp Window
mybutton.onRelease = function (){
win = mx.managers.PopUpManager.createPopUp(_root, mx.containers.Window, true, { title:"Congreso de NiƱos :: 2006 ::", contentPath:"Joyas2.swf", _width:420, _height:440, closeButton:true, _x:100 })
win.addEventListener("click",cerrar);
}
// I mix with your cade... And it works perfectly
---------------------
cerrar = new Object();
cerrar.click = function(){
win.deletePopUp();
}
Thank you very much
I resolve mny prblem with your advice.
My code looks like this:
// With this code I made the popUp Window
mybutton.onRelease = function (){
win = mx.managers.PopUpManager.createPopUp(_root, mx.containers.Window, true, { title:"Congreso de NiƱos :: 2006 ::", contentPath:"Joyas2.swf", _width:420, _height:440, closeButton:true, _x:100 })
win.addEventListener("click",cerrar);
}
// I mix with your cade... And it works perfectly
---------------------
cerrar = new Object();
cerrar.click = function(){
win.deletePopUp();
}
Thank you very much
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Dj____God_Lov____
AUTHOR
New Here
,
LATEST
/t5/animate-discussions/problems-with-the-componnet-window/m-p/20611#M321005
Jul 17, 2006
Jul 17, 2006
Copy link to clipboard
Copied
Thanks peeper...
I resolve mny prblem with your advice.
My code looks like this:
// With this code I made the popUp Window
mybutton.onRelease = function (){
win = mx.managers.PopUpManager.createPopUp(_root, mx.containers.Window, true, { title:"Congreso de NiƱos :: 2006 ::", contentPath:"Joyas2.swf", _width:420, _height:440, closeButton:true, _x:100 })
win.addEventListener("click",cerrar);
}
// I mix with your cade... And it works perfectly
---------------------
cerrar = new Object();
cerrar.click = function(){
win.deletePopUp();
}
Thank you very much
I resolve mny prblem with your advice.
My code looks like this:
// With this code I made the popUp Window
mybutton.onRelease = function (){
win = mx.managers.PopUpManager.createPopUp(_root, mx.containers.Window, true, { title:"Congreso de NiƱos :: 2006 ::", contentPath:"Joyas2.swf", _width:420, _height:440, closeButton:true, _x:100 })
win.addEventListener("click",cerrar);
}
// I mix with your cade... And it works perfectly
---------------------
cerrar = new Object();
cerrar.click = function(){
win.deletePopUp();
}
Thank you very much
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Explorer
,
LATEST
/t5/animate-discussions/problems-with-the-componnet-window/m-p/20612#M321006
Jul 17, 2006
Jul 17, 2006
Copy link to clipboard
Copied
Thanks peeper...
I resolve mny prblem with your advice.
My code looks like this:
// With this code I made the popUp Window
mybutton.onRelease = function (){
win = mx.managers.PopUpManager.createPopUp(_root, mx.containers.Window, true, { title:"Congreso de NiƱos :: 2006 ::", contentPath:"Joyas2.swf", _width:420, _height:440, closeButton:true, _x:100 })
win.addEventListener("click",cerrar);
}
// I mix with your cade... And it works perfectly
---------------------
cerrar = new Object();
cerrar.click = function(){
win.deletePopUp();
}
Thank you very much
I resolve mny prblem with your advice.
My code looks like this:
// With this code I made the popUp Window
mybutton.onRelease = function (){
win = mx.managers.PopUpManager.createPopUp(_root, mx.containers.Window, true, { title:"Congreso de NiƱos :: 2006 ::", contentPath:"Joyas2.swf", _width:420, _height:440, closeButton:true, _x:100 })
win.addEventListener("click",cerrar);
}
// I mix with your cade... And it works perfectly
---------------------
cerrar = new Object();
cerrar.click = function(){
win.deletePopUp();
}
Thank you very much
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

