Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 1st, 2004, 01:54 PM
elaborations elaborations is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 7 elaborations User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Arrow creating a button to open a movie clip from inside a movie clip??

I'm using a hexagon menu to display some images. One image is placed on each slide of the hexagon menu (which can then be rotated left and right to see other "slides").

What I want to do now is to be able to click on the object (image) as a button and for it to go to another scene which shows the image blown up and some description next to it (which is another movie)

I have tried the following which doesn't seem to work:
Created an invisible button (or choosing the image as a button) and having

on(release) {
gotoAndPlay("scene 5", 1);
}

this doesn't work when I use it over the hexagonal menu, but when I move the button to somewhere else on the screen (not over the movie) it works.


Please can someone help with this - Ive been working on it flat out over the weekend and desperately want to make it work. any ideas would be appreciated!! thank you

Reply With Quote
  #2  
Old February 1st, 2004, 05:13 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,715 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11109 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 11 h 50 m 46 sec
Reputation Power: 580
Facebook MySpace
Hi, are you sure you have your layers set correctly. The button wont respond if it's under a movie clip...so are you sure the button layer is above the hex menu layer?
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Reply With Quote
  #3  
Old February 3rd, 2004, 12:17 PM
elaborations elaborations is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 7 elaborations User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok, basically I have a scene, within that scene I have a movie clip (hexagon menu) and within the slide of the hexagon menu - there are 2 scenes, scene 1 and 3. Scene 1 is the rotation of the hexagon (animation). Scene 3 shows the images that are displayed on each of the slides when the hexagon moves around (you would get a better idea of this if you saw the actual page, it's at www.elaborations.co.uk/mansour/index.html). I'm trying make the image a button (or create an invisible button) so that it goes to another scene.

Reply With Quote
  #4  
Old February 3rd, 2004, 12:38 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,715 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11109 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 11 h 50 m 46 sec
Reputation Power: 580
Facebook MySpace
Hi, ok now I know what's going on...think i was being slow before :¬) ok the movie clip that has the image in can be the button, or at least have button like actions. Say the movie your referring to as scene 3 is called imageMovie. You can link mouse actions to it like this:

imageMovie.onRelease = function()
{
gotoAndPlay(2);
}

If you made each item it's entirely own movie and your talking about actual seperate scenes for each one well the principle should still carry. If you didnt put each image in it's own movie and just dropped an instance of the bitmap on the stage then you may be better off either putting it in a movie and using the above code or simply manually making a big invisible button over the bitmap on stage. To make a big invisible button just draw in the fourth frame of a button instance. That's the hit frame. It will allow the button to be functional but not show any graphics for any of its visibile states.

Last edited by Tann San : February 3rd, 2004 at 01:09 PM.

Reply With Quote
  #5  
Old February 3rd, 2004, 12:56 PM
elaborations elaborations is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 7 elaborations User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
sorry - I meant symbol 1 and symbol 3 (not scene)

Reply With Quote
  #6  
Old February 3rd, 2004, 01:01 PM
elaborations elaborations is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 7 elaborations User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I've actually done that:

If you didnt put each image in it's own movie and just dropped an instance of the bitmap on the stage then you may be better off either putting it in a movie and using the above code or simply manually making a big invisible button over the bitmap on stage. To make a big invisible button just draw in the fourth frame of a button instance. That's the hit frame. It will allow the button to be functional but not show any graphics for any of its visibile states.


Thats exactly what I've done - but still no result - any more ideas??

Reply With Quote
  #7  
Old February 3rd, 2004, 01:13 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,715 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11109 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 11 h 50 m 46 sec
Reputation Power: 580
Facebook MySpace
Hi, I'm intrigued as to why your buttons dont work...well you can try the other option for now. I'm guessing symbol 3 is the name of from the library. Give symbol 3 an instance name on the stage.i.e. imageMovie. Then use:

imageMovie.onRelease = function()
{
gotoAndPlay(2);
}

There was a spelling mistake in my previous post..make sure to ditch the invisible button if your going to try this out.

That will make the actual image movie a button essentially. This might not work for whatever reason is preventing the invisible button from working. It's not too much to try it out though. Dont put the code on the movie, use it in the parent.

Reply With Quote
  #8  
Old February 3rd, 2004, 06:12 PM
elaborations elaborations is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 7 elaborations User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Tried all that - but still nothing ....

I dont understand what you mean by this though "Dont put the code on the movie, use it in the parent" ??

Reply With Quote
  #9  
Old February 3rd, 2004, 06:15 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,715 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11109 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 11 h 50 m 46 sec
Reputation Power: 580
Facebook MySpace
Hi, I just meant dont put it inside imageMovie iteself. Say imageMovie is on the main stage then put the code in a relevant keyframe there. Are you sure that the image is on top of the rectangle movie?

Reply With Quote
  #10  
Old February 3rd, 2004, 07:57 PM
elaborations elaborations is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 7 elaborations User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Would I be able to send you a zipped version of my work to look at - I'm really confused!

Reply With Quote
  #11  
Old February 11th, 2004, 09:19 AM
james2g james2g is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 3 james2g User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
loadmovie registration

Hello,

Great Website! I am trying to do something similiar but I am having trouble getting the buttons to work on the movie I am loading .

If I load the movie in to a clip the registration is perfect but the buttons are not working. If I load the movie into a level the buttons work but the registration is off. Any idea why my buttons would not work when loading to a clip????

Any help would be greatly appreciated.

James

Reply With Quote
  #12  
Old February 11th, 2004, 01:52 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,715 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11109 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 11 h 50 m 46 sec
Reputation Power: 580
Facebook MySpace
Hi, you can just use the actual image clip as a button. Say your image movie is called imageMov.

imageMov.onRelease = function()
{
getURL("thispic.html", "_blank");
}

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > creating a button to open a movie clip from inside a movie clip??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump