I have a site where an .swf is loaded into frame 11 of the main timeline using newLoader().In this .swf there is an titlebuttons_mc with seven buttons in, images_mc etc.How do i navigate back to, background_mc, frame 40, which is on frame 1 of the main timeline.
it seemed like a simple process but I cant seem to get this right... I got a button there, but the URL wont go, ie, the click does nothing.I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot.Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." I did select the transparent box, no color, and tried alpha, both same result)I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I dont have any effects here btw, as simple as we can get.After that I right clicked on the buttonand entered the action script ("reserve" is the name of my button symbol)
I got a button there, but the URL wont go, ie, the click does nothing.I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot.
Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." I did select the transparent box, no color, and tried alpha, both same result)
I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I dont have any effects here btw, as simple as we can get.After that I right clicked on the buttonand entered the action script ("reserve" is the name of my button symbol)
[Code]...
which gave no errors on validation.When I preview in Flash, everything looks good except the thin black border and the fact that when the button is pressed, nothing happens.
It seemed like a simple process but I cant seem to get this right... I got a button there, but the URL wont go, i.e., the click does nothing. I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot. Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." (I did select the transparent box, no color, and tried alpha, both same result). I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I don't have any effects here btw, as simple as we can get.
After that I right clicked on the button and entered the action script ("reserve" is the name of my button symbol) reserve.onRelease=function(){getURL("[URL]");} Which gave no errors on validation. When I preview in Flash, everything looks good except the thin black border and the fact that when the button is pressed, nothing happens.
I have a 'contact us' panel(contact_mc) that is loaded from the library with a button on a menu bar. When this is loaded in, a "close" button (closecontact_mc) is also loaded next to the panel. The panel and button load perfectly when run. Next I want the panel and 'close' button to be removed from the stage when the 'close' button is clicked.
I created a button in Illustrator and imported to my Flash library. The button has drop shadows, overlay and gradients. It imports and previews just fine until I change it to a button. When I go to preview it, there are these thick red boxes that seems to incase every layer of the button?
I have a button inside another button which is inside a movieclip. *whew*I have it so that when you click on the movieclip, a dialog box pops up. I have two buttons on the dialog box, but for some reason you can't click on them and when you do, the dialog box just disappears. Here's a picture of what I'm talking about, so how do i get the "YES/NO" buttons to work? Oh, the buttons are not included in that Graphic
I have tried to add a button a .fla and code it with a packaged class (Main.as).is it possible to use a button from the GUI and code it with a external imported packaged class?
I have a swf named garage. When you click the garage door it opens and a tool chest emerges. You can either click on the gargage door again to close it or click on the top of the tool chest to close it. The drawers on the tool chest represent buttons that will bring up a contact form to be sent to the perspective person. These buttons are a secondary navigation. The main movie that is importing garage.swf has navigation for the contact forms. I need to code the buttons on the tool chest to match the code on the main movie so if you click the buttons on the tool chest they will respond as if they were the buttons in the main movie that it has been imported by.
So I'm creating this flash game for our company's 2010 halloween greeting card and I'm having some problems.All it is an swf that has balloons randomly moving upward.Each balloon is a movie clip that has another "button" movie clip inside of it. As you click on each balloon, the balloon pops and then recreates itself. The only problem is that the button inside the balloon is not acting like a button the entire time.
The upward movement is being called through an enterFrame event listener and the use of the button goes in and out as the balloon moves upward. It's a pain because you have to click the balloon multiple times in order to get the balloon to pop. Does anyone know why this is or if there is an alternative to enterFrame?
how do we refer the submenubutton which hasbeen masked inside a movie clip.
In my code ,
mainBtn3 is present inside "mm " movie clip . and on click of it I am able to move to another frame using below code . But, if there is a sub menu for the button , and if I am referring it as below [mm.btn3sub1] and trying to move to another frame . I am getting following error
TypeError: Error #1009: Cannot access a property or method of a null object reference. at sumiyatried12356_fla::MainTimeline/frame1()
is there any way I can link a button inside a MC on frame1 to a frame inside another MC that is located on another frame.Ive got 2 frames in total. On the first frame Ive got an Mc and inside this one Ive got a button that needs to be linked to frame number 50 which is inside a MC located on frame number 2.
I have issues with the buttons working from the SWF file which is brought into the main flash site via UILoader.
[Code]...
I gathered that it is most probably due to the fact that I have constructed a button in the improper way.I tried to redo a button but it was the same result.I would like to try to access it through the main timeline. What would be the whole block of code to put a function on the button located inside an external SWF which is called in via a UILoader?
I have flip_mc which contains listSide_mc and videoInfoSide_mc both of the above mc's contain a button name spin_btn.My flip_mc should rotate around the y axis and swapping whichever of the 2 (listSide_mc and videoInfoSide_mc) should be visible.All the rotating and adding a child stuff works fine.BUT the whole flip_mc seems to be a button, the spinIt function runs when I click anywhere on the mc, it should only happen when I click the spin_btn buttons.[code]
controlling a button. when users rollover that one there is another button named happy_mc that pops up. how would i code it so that that button (happy_mc) works inside of link_mc?
I have a button containing 2 child buttons. I want to be able to keep the mouse over state active, when I rollover a child button. At present it fires mouse out when i rollover a child button, I suspect this is correct, but not what I want to happen.
i was thinking if i could make a button that when you do mouseover it brings up a bar saying "background" at the top and a list of colours to choosethe colours are buttons and u click to change the background for the whole sitei thought maybe
Code: on (release) { gotoAndPlay("background", 2);
I've made a mask with a FLVPlayback inside and with a sliding bar that appears when I make rollover in the FLVPlayback. All working well. I want to put some simple controls in the sliding bar like pause or play, but I can't access the buttons because they are inside a first button ( the FLVPlayback ) that triggers the sliding bar. How can I make to have a button inside another button area?
I've two movie clips. my first mc as a button is on stage(part of many buttons) when user click on it opens up across the page(works perfect), in this page I want show three scrollbars with three buttons each button for different scrollbar but these buttons don't work, even cursor don't change to hand shape.
[URL]you can see that scrolling list I have. My problem is, I need the user to be able to click the "send to phone" button, but since I have RollOver and release links on the list, it wont allow me to select the send to phone button. Here is my AS..its loading the text from XML
Code: for (var i = 0; i < fileLength; i++) { var node = xml.firstChild.childNodes[2].childNodes[i].attributes; var title:String = node.title; var keyID:String = node.keyID;
Let's say I have 3 buttons (movieclips) and, using AS2, I want that when mouse is over a button, that button changes its state, something like
[Code]...
so that the same thing happens for each button when the mouse is rolled over it, by simply calling for each button a function inside which I refer to the button by using "this". And the problem is I cannot (don't know) how to do this in AS3. I mean if I use "this" inside a function, this refers to the main timeline. So is there a possibility to write a function like
I have a weird problem... I have a button inside a movieclip and actionscript on root frame. I know whats the problem, just cant understand how to solve it.I have this script for the movieclip:
I'm adding a MovieClip with with the following code in the main timeline:
var mcCiclo_01:mc_ciclo=new mc_ciclo; function ciclo(event:MouseEvent):void{ addChild(mcCiclo_01); }
I want to use a button inside that movieclip to link to an external web page. I was able to do that with dot notation if the movieclip was "fisically" in the main timeline but this way doesn't work.
I need to find a way to make a movie clip or button click and direct to a movie clip that pops up a window with data and has an x box to exit that movie clip. I also need that box WITH the x to be draggable together.
//Louisville,CO ------------------------------- louisville_btn.onPress = function () { louisville_box.gotoAndPlay(play);
what i am trying to achieve:i need to create a navigation MC that, when rolled over, opens up to reveal a few buttons. (and when rolled off closes the navigation MC - basically a "play backwards" MC)
MenuContainer1.MenuContainer2.logo.nav_button.addEventListener(MouseEvent.CLICK,onNav2); function onNav2(event:MouseEvent):void{ if (menu_open) {
[Code]....
why this does not work it does not trace else when i click, but if before i compile i swap "var menu_open:Boolean = true;" to "var menu_open:Boolean = false;" it does trace else!