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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 03-16-2009, 09:42 AM   #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
Rasb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 03-18-2009, 08:15 AM   #2 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
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
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-18-2009, 10:01 AM   #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 want the mypics_taskbar_btn to show up just to the right of the start button (just like your own desktop's taskbar). Trouble is that I want each new window to open to the right of the start button but if there is an existing button there go to the right of that.

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
Rasb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 01:56 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85