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 04-15-2009, 03:48 AM   #1 (permalink)
Registered User
 
Join Date: Apr 2009
Posts: 19
OS: vista


Flash CS3 button click-away question



How can I make a movie clip button disappear when it is clicked away from? So if the user clicks the button and a menu comes out, but then the user clicks another part of the screen, the menu goes back in? Any ideas - I can't see it in the code hints.
jamesjh 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 04-16-2009, 02:36 PM   #2 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,879
OS: Vista, various linux distros


Re: Flash CS3 button click-away question

What's your code to show the menu?

Could you give me an example of the code you're using so far?

Or if you like you can zip up the .fla and i'll have a look and help you out.

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 04-17-2009, 02:35 AM   #3 (permalink)
Registered User
 
Join Date: Apr 2009
Posts: 19
OS: vista


Re: Flash CS3 button click-away question

Jamey

My whole movie is 35Mb (is that big?) so I've just attached the one movie clip in question.
I don't know much Actionscript yet so please bear with me if I'm doing it totally the wrong way.
It is essentially a drop down menu that i'm trying to do.

Thanks

James.
Attached Files
File Type: zip Wedding button.zip (146.8 KB, 4 views)
jamesjh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-17-2009, 12:43 PM   #4 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,879
OS: Vista, various linux distros


Re: Flash CS3 button click-away question

Quote:
Originally Posted by jamesjh View Post
My whole movie is 35Mb (is that big?)
35MB is very large, do you have embedded videos/pics in the movie? because it may be adviseable that you dynamically embed them instead (basically cus 35mb could take about 10 mins to load on the web.

I did what i consider to be a big project for my ICT c/w not too long ago and the final main movie was 857kb but i dynamically embedded my vids&pics...

I'll take a look at the movie now and see what i can do to help you. I'll get back to you ASAP.

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 04-18-2009, 05:33 PM   #5 (permalink)
Registered User
 
FredT's Avatar
 
Join Date: Nov 2007
Posts: 388
OS: Mac OS X 10.5.7 and XP SP2


Re: Flash CS3 button click-away question

If you want an object to disappear, you could use

something.visible = false; //AS3
or
something._visible = false; //AS2

If that's what you're looking for...
FredT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-18-2009, 05:37 PM   #6 (permalink)
Registered User
 
FredT's Avatar
 
Join Date: Nov 2007
Posts: 388
OS: Mac OS X 10.5.7 and XP SP2


Re: Flash CS3 button click-away question

Oh, I just looked at your .fla, so you have a MOUSE_OVER event listener, and then it continues playing the timeline which shows the things rolling out...

If you add an event listener that is MouseEvent.MOUSE_OUT, then that will detect when the person isn't hovering over the button any more and you can use the same concept of playing the timeline, except tween the stuff back in (so it disappears).

Does that make sense?
FredT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-21-2009, 10:19 AM   #7 (permalink)
Registered User
 
Join Date: Apr 2009
Posts: 19
OS: vista


Re: Flash CS3 button click-away question

Quote:
Originally Posted by jamiemac2005 View Post
35MB is very large, do you have embedded videos/pics in the movie? because it may be adviseable that you dynamically embed them instead (basically cus 35mb could take about 10 mins to load on the web.
I think the large file size may be due to the fact that I created a little movie clip for making an image enlarge and then a pop-out description appear, then I duplicated it about twenty five times for all the different images on the site. This may seem a dumb way to do it but my AS is limited, and also how can you control a motion tween within AS? I've been reading some tutorials and can see that there are probably far more efficient ways of doing what I want using classes. I feel I'm still a long way away from being able to do that though.
Thanks for the help everyone!
jamesjh 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 07:11 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