![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Aug 2007
Posts: 78
OS: XP
|
Programming a flash taskbar
Hello,
I'm trying to build a simple flash website and was trying to make it work like a simply desktop environment. I've planned out almost everything except how to get the minimize to taskbar to show up right next to the last one opened. When the user clicks a button to open a window(make it visible) I make another button show in the taskbar. But how would I get the next window's taskbar button to show up next to it instead of on top of it. Thanks for your time Rasb |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,888
OS: Vista, various linux distros
|
Re: Programming a flash taskbar
Hey, sorry that you've had to wait for a reply.
Anyway, i understand what you are trying to do but i can't help without code or an idea of how you've implemented this. So, if you haven't yet solved this prolem, for me to help please can you either:- - Post the code involved in "minimizing to tray" and explain how you've implemented this. or - Upload your .fla file and post it as an attachment here. Cheers, Jamey |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Aug 2007
Posts: 78
OS: XP
|
Re: Programming a flash taskbar
thanks jamiemac2005 for the reply.
As of yet I do not have any code as I am currently planning out the site. I just wasn't sure if I could do this so I wanted to see how I can do it and how difficult it would be. This is the plan: I'll create a button that onclick makes pictures_mc (the window) and pictures_taskbar_btn (the taskbar button) visible. Now the minimize button on pictures_mc will make it invisible but keep pictures_taskbar_btn visible so you can click it to make pictures_mc visible again. Here is what the code would basically look like. Code:
function openPictures_mc(event:MouseEvent):void{
pictures_mc.visible = true;
mypics_taskbar_btn.visible = true;
}
function showPictures_mc(event:MouseEvent):void{
pictures_mc.visible = true;
}
function hidePictures_mc(event:MouseEvent):void{
pictures_mc.visible = false;
}
function closePictures_mc(event:MouseEvent):void{
pictures_mc.visible = false;
mypics_taskbar_btn.visible = false;
}
mypics_btn.addEventListener(MouseEvent.CLICK, openPictures_mc);
mypics_taskbar_btn.addEventListener(MouseEvent.CLICK, showPictures_mc);
pictures_mc.mypics min_btn.addEventListener(MouseEvent.CLICK, hidePictures_mc);
pictures_mc.mypics_close_btn.addEventListener(MouseEvent.CLICK, closePictures_mc);
I though about it and I think I could do this with predefined locations and number them with a counter so that every time a new button opens, it will add 1 to the counter and that would be the location of the button. example: 3 buttons on display then put the 4th button 400px to the right. Not sure if I can do it that way but I'm going to start it without this feature and add it when I figure it out. Rasb |
|
|
|
![]() |
| Thread Tools | |
|
|