Professional :: Make Buttons Below Inactive/active When A Movie Clip Is Playing?

Dec 31, 2009

I've got an infographic I'm working on, and every time I roll over an image (a ring) the alpha goes up to 100, then I roll out and it goes back to 50. That much I'm good with.

Then, I click on each one of them, and a movie clip (built inside of each ring/button) pops up and plays. Fair enough.
 
I've got a script (ugly, but it works!) that will hide all other buttons while this movie clip is playing. But, when I click to close it, I can't figure out a way to make them reappear. I tried putting visible = true again for all of them, but no dice.

The actionscript for it is right below.

I'm not sure if there's anything I can do to make it modal in AS3 or something like that. Or should I go ahead and set it up in a parent/child kind of way (not too well-versed in that regard.
 
All the buttons to click on are in the same layer and I'm not sure if making them different layers in Flash would make any difference.

stop(); 
ring1926.movie1926.visible = false; 
// add a rollover to make the inside movieclip appear 

[Code].....

View 4 Replies


Similar Posts:


ActionScript 2.0 :: Buttons Active/Inactive On Click?

Jan 6, 2011

i have movie clip buttons on main timeline, i want that the buttons should be active (as they are on mouseOver) when click on them, and become back to normal when other button is clicked....

button AS2 is:

Code:
on (rollOver)
{
gotoAndPlay(2);
}

[Code].....

View 2 Replies

ActionScript 3.0 :: Playing Movie Clip Backward Using Buttons?

Jan 5, 2012

Im trying to create a series of images that scroll acoss the page left and right using arrows at either side of the stage. The arrows use mouse over events to play a movie clip of the images foward and backward.There are a few issues I am having. I have a mouse over and mouse out events in place to start and stop the clip on to different buttons. However when playing the clip backward with my current script the mouse out doesnt do anything so the clip just keeps playing backward to the beggining. Once this has happened neither button then does anything.Another issue is once the clip has played foward once in total and I mouse over the same arrow button again it flicks back to the begginging of the clip.[code]

View 3 Replies

IDE :: Stuck With Buttons Playing A Short Movie Clip?

Jan 4, 2010

I want to create a button, which Fades in a Text Box (like a speech Bubble) when you hover over the button and then fades out when the mouse cursor comes off the button?It sounds simple but I cant seem to figure out how to do it?

View 1 Replies

Buttons To Become Inactive When External Movie Loaded?

Apr 11, 2009

I am working on a portfolio website and I have all my navigation with buttons linking to other pages, on the base level. All the buttons are scattered around the stage and when one of these buttons is clicked an external movie is loaded in the centre of the page.

The movie is a big white box with a slideshow of images from my portfolio in the centre of the stage.

My problem is that the buttons on the base level are easily clicked by accident, even though you cant see them with the white box.[code]...

View 3 Replies

ActionScript 2.0 :: Movie Clip Buttons - Target / Make The Buttons On The Other Frames Work

Aug 7, 2009

I have a movie clip with 15 frames. Each frame has buttons on it (mc's)... I was going to put the actions on the main timeline/stage and navigate within the MC from the main timeline. Is that possible? I can get the buttons on the first frame of the MC to work, but I can't seem to figure out how to target/make the buttons on the other frames work? I was thinking I could identify the path of the MC with the frame labels, but that doesn't seem to work. like: _root.RMChanger.(frame label).buttonOnFrame = function

I have to move a text box in and out over the MC backgrounds on the main stage... which is why I was thinking to do it this way? I've been switching back and forth bwtween AS2.0 and 3.0

View 9 Replies

Actionscript 3.0 :: Make A Preloader That Has A Movie Clip Playing?

Jun 15, 2009

I would like to make a preloader that has a movie clip playing. It's basically a looping movieclip. Also, I have an animation to play as the actual preloader.What would be the best way of going about this? I have basic actionscript skills but, i'm trying to learn a best practice to use while utilizing as3.

View 2 Replies

Professional :: Nested Movie Clip Not Playing

Oct 17, 2010

I have some movie clips nested and at some point one on the left side should call one on the right side and it's not working and I'm pulling my hair, and I'm opening this thread for therapeutic purposes, I'm so angry I can't see straight
 
one frame in the left MC calls this

_root.pages_mc.cpr_mc.charr_mc.right_mc.gotoAndPlay("Sidney");
 
and it doesn't work and I don't know why, as I have a root who has a frame with a pages_mc that has a frame with cpr_mc that has a frame with charr_mc that has a frame with right_mc and there is a label 'Sidney'well, that's all. I don't even know flash very well, but looks to me that logically I'm doing it right, but flashly I'm doing it wrong...

View 9 Replies

Professional :: Why Won't Movie Clip Stop Playing

Feb 21, 2011

I am trying to make a shooting game and I am using the Pistol as a movieclip but it just won't stop playing!

View 1 Replies

Professional :: Movie Clip Stops Playing For No Reason?

Mar 9, 2012

I am making a banner that has multiple movie clips sharing the same area, creating different rainbow effects when different areas (invisible buttons) are moused over.
 
First of all I couldn't figure out if there was a way to have one invisible button over the whole area that changed to a different colored effect with each mouse over (first mouse over the black and whites would change to reds, second would change it to blues, third would change it to browns, etc.). Since I couldn't figure this out I settled on creating three buttons covering a third of the banner each, so when the mouse passes over one button it changes to reds, over another button it changes to blues, over the third it changes to browns.
 
The effects are movie clips where each frame has another stripe changing color so it goes in a wave effect from one to the next, and then goes back to white and black in the same manner.  The first frame of each movie clip I had to turn into a nested movie clip so I could turn the alpha to 0, since I was going to have these color effect movie clips on top of one another in the main timeline on different layers, and so you could see the effect even if that color layer wasn't on top. I used the same nested movie clip with zero alpha for the first frame of each color effect clip (reds movie clip, blues movie clip, etc), so I dont' know if that's an issue.
 
Anyway, it seemed to work fine for a while, but after working on it for a while longer (and not getting any further since I removed most of the changes I made), now when I test the movie the mouse over does not seem to work correctly. It works fine, seemingly, for the first time I mouse over each button, but in order to have it work again I have to mouse over the button twice, and then it will pause randomly during a part of the clip and I have to move my mouse back over for the movie clip to continue.
 
I can't tell if this is because of the overlapping movie clips, or because my buttons are messed up, or if my actionscript is messed up, or if the timeline has to be longer, or what. Currently the timeline is 55 frames, the same as each movie clip.
 
I put a movieclip_instance.stop(); command in the first frame of the main timeline, is there a better way to do this? Should I put the stop command in the movie clip itself?
 
Here is a section of my AS in the main timeline, this is my first time programming ever, in any language, and trying to learn from the internet is more difficult than I thought it would be.
 
redmovie.stop(); 
red_btn.addEventListener(MouseEvent.ROLL_OVER, playRed);
function playRed(event:MouseEvent):void
{
redmovie.play(); 
}

View 4 Replies

Professional :: Flash Thumbnail Gallery - Making Window Clip Inactive After Click?

Dec 4, 2011

I am an artist trying to remake my website...I have a picture of a window on my homepage. The window is a movie. When clicked on, the window lights turn on and a grid of thumbnail pics appear. Each thumbnail is a movie clip. When a thumbnail is clicked on, the movie plays and a larger image appears over the window. The problem is, the window is still active underneath the large image, so if I click on the large image, I am really clicking on the window movie clip underneath, and the thumbnail grid disappears-starting the window movie clip over. How do I make the window clip inactive after it is initially clicked? Also, I would like the larger images to end their movie clips after another thumbnail is clicked, so that there aren't large images piled up on top of each other.

View 6 Replies

Professional :: Make Movie Clip Non-clickable Unless Another Movie Clip Is Visible

Mar 22, 2011

I'm making a room escape game and I've run into a problem. When an item gets added to the inventory, I'd like the user to be able to click on the item to affect another object (e.g. clicking screwdriver hides screws and displays other image) however when I add the code to the item, if the item is clicked and it's nowhere near the object it affects, the image pops up and it looks really stupid.

So what I'd like to be able to do, possibly using if and else statements or whatever's easiest, is to only have the inventory item be clickable if the movie clip of the object is affects is visible on the stage.

View 6 Replies

ActionScript 3.0 :: Make A Movie Clip Buttons?

Nov 15, 2010

how do I make a movie clip button?

View 1 Replies

ActionScript 2.0 :: [Flash Cs3] Make A Button Called Textchange That Detects If The Movie Clip Meditext Is Playing?

Jan 16, 2008

I need to know how to make a button called Textchange that detects if the movie clip Meditext is playing, and if it is then largetext will start playing and Meditext will stop. But if it isn't playing, then nothing happens.

View 2 Replies

Professional :: Increasing Idle CPU Usage With Repeated Playing Of Very Animated Movie Clip?

Feb 17, 2011

I'm developing a touch-screen Flash  application for a shoe store, and it runs fine initially, but slows down  toward the end of the day. I've been diligent with removing event  listeners and so on. I've now narrowed the problem to be very specific -  it's one section of the application causing the problem, and one part  of that section:
 
- I have a main movie clip which  contains the animation, which itself contains 5 nested movie clips, each  with their own timeline. All movie clips have a stop action on the  final frame. images are transparent PNGs with outer glow "filter" - the issue is not with performance as such, but with CPU increasing  over time. Each time you play the clip, there is a small amount of CPU  usage that 'sticks' and doesn't get freed up. What happens is that if  you play the movie clip many (MANY MANY) times, then eventually it  starts to slow down. Mac's Activity Monitor shows that the idle CPU  usage is increasing slowly, over many times of playing the clip. It's  insignificant with each play, but adds up over time.
 
You  may be inclined to say: oh filters effect CPU, so it will be slow - but  it isn't slow until it plays many, many times. Initially it's fast. I've uploaded a .zip with .app and .exe versions of my problem section. There are two files of each type: AutoPlay.app  (& .exe): plays the problem clip repeatedly (I've just removed the  final 'stop();' frame), so you can leave it open and come back in half  an hour to see it slowing down.
ClickToPlay.app (& .exe): Plays the problem  clip once when you click the 'play' button, so you can click several  times, let it return to idle, and verify that the idle CPU usage is in  fact increasing.

[Code]...

View 1 Replies

ActionScript 2.0 :: Make Flash Identify Them As Buttons Within A Movie Clip?

Nov 24, 2008

[ACTIONSCRIPT 2.0, FLASH 8.0] I'm creating a menu that on rollover eases from its resting position to a more accessible point on the page. The menu is a movieclip and within it i want to have buttons that control the timeline. The buttons however do not work as buttons when in the movie clip. is there anyway to make flash identify them as buttons within a movie clip?

View 3 Replies

Professional :: Operating Buttons Within A Movie Clip?

Apr 20, 2011

I am building a website in flash for a design class (emphasis on design, nothing taught with actionscript)
 
I need help trying to figure out the actionscript for allowing buttons inside a movie clip symbol to navigate pages at the parent/root/main timeline level.
 
With this site I have the mainMenu as a Movie Clip symbol and have the menu items populate with animation inside the movie clip.  I need these buttons when pressed to navigate to different parts of the site that are controlled on the main level of the site (outside of the movie clip the buttons reside in).
 
I have given the buttons instance names, btnDining in the movie clip symbol.  The movie clip symbol is call mainMenu.  In the main level, I have labels for the different states/pages I want the website to have (dining, accommodations, etc)

[Code]...
 
I don't know if it is best to run the code from inside the movie clip symbol and call the different view on the main stage/level of the flash or if I try to run from the main stage/level and reference the buttons inside the movie clip symbol.
 
Please help me figure this out, I am trying to go a little above and beyond on this project.  I have been struggling on this for days and I have looked at tutorials, books I have on actionscript, etc. 

View 5 Replies

Professional :: Buttons In A Movie Clip Don't Go To Frame Labels?

May 9, 2010

have 1 button inbeded in a movie clip named mcintroclp that is on frame 1 of my main timeline, Frame 2 is labeled port_btn on the main timeline. In the timeline of the movie clip mcintroclp I've put the code:

stop();
function buttonClick(event:MouseEvent):void
{

[code]......

View 12 Replies

Professional :: What Is The Proper Way To Design Movie Clip Buttons

Aug 3, 2010

Is there a possible issue in the way the button is made not coded? I am using Flash CS4. My buttons seem not to work. I do not think issue is in the action script (I am scripting in 3.0). Here is the way I make the button. I add a movie clip on the stage on the over state ( so if you were to double click on that movie clip a new time line would open), at the end of that movie clip there is a simple stop(); code on its own line. I do not add extra frame on the over state. Then I assign the code to the button and of course cross reference its name in the properties and everything is matching up. Just in case here is my code:

[Code]...

View 8 Replies

Professional :: 12 Movie Clip Buttons On The Main Page?

Aug 25, 2010

I have 12 movie clip buttons on the main page (3 rows of 4 buttons).When a button is pressed,it gives the answer to a question which remains visible.On this answer screen, there is another button to click for further information. I pointed to this button to go to another frame within the same movieclip (containing the further information).However, this "further information" shows up  UNDERNEATH the 12 buttons, and you can't read it.

View 14 Replies

Professional :: Increase The Hit Area On The Movie Clip Buttons?

Dec 18, 2011

I made some custom buttons in flash cs5 and AS3. How do I increase the hit area on the buttons?

View 4 Replies

ActionScript 2.0 :: Get The Mc To Move But The Buttons Remain Inactive And Also The Rollover States On The Buttons Don't Work

Jul 8, 2005

I am having trouble with a job I am doing at the moment which has an mc with buttons within it. I want it so that when I roll over the mc it tweens from a small version to a larger version, and on this mc there are some buttons. At the moment I can get the mc to move but the buttons remain inactive and also the rollover states on the buttons don't work. I have attached a simpler version of what I am trying to do to this post.

View 3 Replies

Professional :: Make A Movie Clip The Player?

Dec 7, 2010

Ok I want to make spawn able enemies and when they get in like 5 pixles in range they start to follow the player they are moving and if they switch directions it will go to another frame that will make it look like they are running in that direction. How can this be acheived?

View 1 Replies

Professional :: Make A Movie Clip Button Into A Url Link?

Aug 15, 2011

I saved as swf & got this error msg in the compiler errors: Symbol=but1,layer 4, frame=1 Mouse events are only for button instancesIn the library I checked the properties of the button and its a movies clip, I'm not sure if it will make any difference if I change to button or graphic?I would like to upload the fla and swf files but this forum doesn't seem to allow me to attach files to messages.

View 3 Replies

Professional :: Make URL Active Link In Text Box / String?

Sep 2, 2010

I've build a simple twitter feed flash application that uses php script to read the latest tweet from xml and returns the string to flash to be displayed in a text box. However, I was wondering if there is some easy way to make the url in the tweet an active link? [URL]

View 5 Replies

Professional :: Make Each Object A Movie Clip Before Set It Motion Tween?

Jun 18, 2010

I have 10 objects in 10 layers to make a single logo. I have created them using flash drawing objects. Now I would like each object to come one by one on stage using motion tween. How can I go further? Do I need to make each object a movie clip before set it motion tween? Or do I need to make a single movie with all 10 objects as combined? Please note that I need each object to come on stage one by one (not a whole logo on once). Please provide help or any example tutorial link.

View 3 Replies

Professional :: Make Movie Clip Move Slowly Towards Right After A Few Seconds?

Nov 16, 2010

I have the following code which will bring my Banner_mc onto the middle of my Introduction page with some effects. Now, I want this movie clip to wait for a while and then move to right until it disappear with the same effects. How can I do that?

[Code].....

View 8 Replies

ActionScript 2.0 :: Attach A Mc To My File The Buttons Behind That Clip Are Still "active"?

Aug 30, 2006

I'm not sure what i'm doing wrong here...When i attach a mc to my file the buttons behind that clip are still "active" how can i solve this?

View 1 Replies

Actionscript 2.0 :: Movie Clip Buttons Inside Of Movie Clip Buttons?

Feb 13, 2009

here is my issue, so i have a main page with a slideOut movieclip which basically is a movie clip button and the "over" state sends a tray out of the movie clip with info and anothe rmovie clip button. i cant seem to get that movie clip button to root.gotoAndPlay("frameLabel");i have the actionscript on the same frame as the movie clip i need to act as a button. but it just doesnt seem to react to it.i have tried going to the main timeline and doing

blank_mc.blank2_mc.onRelease = function();
{
_root.gotoAndPlay("frameLabel");

[code]....

View 4 Replies

Professional :: Make A Loaded.swf Stop Looping Inside A Movie Clip?

Oct 20, 2010

I have a .swf that loads into a movie clip in a Flash website. The .swf has all necessary stops to play once and stop once loaded. When tested outside of the movie clip, it does what it should, but once loaded, it loops forever and the speed is faster. How do I make this stop looping?  (This only happenes to .swf that were made in CS4, doesn't happen with older .swfs that were made in Macromedia)

View 10 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved