Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Test Movie Turns Buttons Invisable



I have created a movie, within that movie is a button that opens up another movie, call it movie 2. When movie 2 is opened it also contains buttons. For some reason when movie 2 is opened only 2 of the 4 buttons are visible. The other 2 buttons are there and you canclick on them they are just invisible. Any help would be great thanks in advance.



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 01-31-2004, 06:28 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Test Movie Turns Buttons Invisable
I have created a movie, within that movie is a button that opens up another movie, call it movie 2. When movie 2 is opened it also contains buttons. For some reason when movie 2 is opened only 2 of the 4 buttons are visible. The other 2 buttons are there and you canclick on them they are just invisible. Any help would be great thanks in advance.

Buttons Work In Test Scene But Not In Test Movie...WHY?
Hi all,
I have buttons in a movieclip i've used
_root.
and the buttons work when i do test scene but when i try and test movie the buttons link back to the wrong screen. why is this? There is no apparent reason as the scripting seems fine.

How Come My Invisable Buttons Are Visable?
I have a bunch of invisable buttons on top of movie clips which play to reveal the jpg beneath.

my problem is that some of the rows of invisable buttons obscure the movieclips and jpg underneath... they are 'visable'

also, in flash, the invisable buttons are shown in 2 different colors a transparent color and an opaque color, although they are instances of the same button

why are the invisable buttons visable? HELP!

thanks for your time,

quazi

Invisable Hit Areas For Buttons
Hi All

I'm new to flash but have used diretor, is it possible to ceate invisable hit areas for buttons and rollovers, I asume it should be but cant work out how to create an invisable shape

Thanks in Advance..

Invisable Flash Movie
Is there any way to put a flash movie over an existing html image and make the flash movie transparent so you only see the things you drew in flash and not the flash background. eg. I have a image of a cityscape in html. I want to paste moving people (flash movie) over top of it but I only want to see the people, not the background that flash provides. My client wants a fast loading page so putting the cityscape picture (150Kb) within flash is not an option. Any ideas???

Invisable Flash Movie
Is there any way to put a flash movie over an existing html image and make the flash movie transparent so you only see the things you drew in flash and not the flash background. eg. I have a image of a cityscape in html. I want to paste moving people (flash movie) over top of it but I only want to see the people, not the background that flash provides. My client wants a fast loading page so putting the cityscape picture (150Kb) within flash is not an option. Any ideas???

Selecting 2 Buttons Turns On 3rd Button. Possible?
I am trying to set up a flash file that when 2 buttons are selected a third button becomes active for use. I can create the 2 buttons to turn on the third one when each one is selected independently but i need the 3rd button to become active only when buttons 1 and 2 are selected at the same time.
i think it would fall under an if statement but not sure how to get the 3rd button to listen to both buttona at same time. Please help

Flashing Buttons In Test Movie
OK, I searched, but couldn't find a post that matched my problem.

I'm using Flash 5.

Whenever I create a button, unless I put in a stop() in the script, my buttons just flash between all of their states. This is when I use Control > Test Movie.

Now, the stop() works great, until I try to do something else. That seems to stop the whole frickin thing cold.

Anybody got any ideas?

Frankenmoro

Buttons Do Not Work In Test Movie
I hope someone can help me, it is driving me insane: I linked a number of buttons to a MC based on RollOver/Drag over. The buttons function on the Stage (Enable Simple Buttons), but do not work in TestMovie. How do I get the buttons to work properly in the Testmovie? Thanks for yout help in advance .

Here's the code I used:

this.onRollOver = this.onDragOver = function ()
{
this.gotoAndPlay(2);
}
this.onRollOut = this.onDragOut = function ()
{
this.gotoAndPlay(8);
}
stop();

Movie Instances In Test Not Working With Buttons
hi, i have a problem with testing the movie... i have the main scene, "homepage" then a movie instance "square" then another movie instance within that movie instance, "artpage".... i have a link in "artpage" that is supposed to take the viewer back to "homepage"... when i test the movie, it goes back to the homepage background however the buttons do not show up... the buttons though are part of "square," the first movie instance... the only script i used on the button in "artpage" is

On (release)
gotoAndStop ("Homepage," "1")

is this right?? any suggestions?

Buttons WILL NOT Work When I Test Movie.....RRRRRGGGGHH
I'm so damn frustrated. I finish this site after over a months work, and three of the top buttons aren't working when I test the movie.

Can anyone help with this???

Buttons Work In Flash Not In Test Movie
The buttons are simple roll-overs that goto a labeled page in the timeline. Simple. I've done hundreds. Have no clue why this is happening. They work when "enable simple buttons" is activate but when I "Test Movie" the roll-overs don't work and neither does the action script that sends it to a certain "page". Here is the code. Any ideas would be appreciated. Thanks







Attach Code

on (release){gotoAndStop("res");
}

2 Of 4 Buttons Stop Working When Test Movie
I have a main menu consisting of 4 buttons. They work as expected when Enable Simple buttons is turned on. However, when I press Test Movie, the 1st and 4th buttons do not work. The mouse doesn't change states over them, it's as though they aren't there. I decided to recreate the buttons in a separate file and try again. All buttons worked as expected when test movie is called. Great. I then port all four buttons back into my project and the same thing as before happens. I don't believe it's the code, but here is the code I'm using for the buttons, in any case:
*******************
stop();

function onHomeClick(evt:MouseEvent):void {
gotoAndStop("home");
}
home_btn.addEventListener(MouseEvent.CLICK, onHomeClick);

function onAboutClick(evt:MouseEvent):void {
gotoAndPlay("about");
}
about_btn.addEventListener(MouseEvent.CLICK, onAboutClick);

function onWorkClick(evt:MouseEvent):void {
gotoAndPlay("work");
}
work_btn.addEventListener(MouseEvent.CLICK, onWorkClick);

function onContactClick(evt:MouseEvent):void {
gotoAndPlay("contact");
}
contact_btn.addEventListener(MouseEvent.CLICK, onContactClick);
************************************

Any help or productive thoughts would be appreciated.

Flash .SWF Movie Turns Red
When I run a Flash .SWF file, it runs fine for a while then the whole movie turns completly red and you can't see anything. I am running Win XP SP2 with Internet Explorer 7 Browser.
Any Ideas on how to correct this?





























Edited: 06/24/2007 at 12:03:41 PM by Paulwog5

Movie Turns Upside Down When Printing
Hi -
My Flash movie turns upside down and reverses from left
to right in the browser window after i hit the print button
on the browser ! I have the flash 6 player, and am viewing
in IE. THis seem to happen with quite a fe sites, but not all.
Any ideas ?
Cheers A

Export Movie --> Turns Out Blank
When I create a simple flash movie with text and then do EXPORT MOVIE, it turns out great.  however, when I add a relatively large picture (converted into a symbol) then do the same thing, the movie turns out completely blank, and not even the correct dimensions - but much larger.  Then, if i delete the picture, it works fine again with just the text.  Any ideas?  thanks

One Button Turns Off Mc But Turns Another On
Ok,

I have a menu with 5 buttons in an mc on main
(mission, links, contact, resume, portfolio)

when i click … say mission button, an mc opens of mission in center of screen. Now, when I click … say, contact, I want mission to fade away out of view and have contact mc play in same spot. and if i click resume, i want mission to fade off and resume mc to play in its position and so on.

got it? pretty simple, I think---but i can't figure it out.

can get some help, nick.

Sound In Movie Turns Back On After Going Backwards In Timeline...
Hopefully this is a simple one to fix...

I have a flash site that has a looping soundtrack. You can turn the music ON or OFF via a simple little button on the page. However, when you turn the sound off, click on a link, and then click on another link that happens to be prior in the timeline, the sound turns back on and I have to click the sound control button twice to turn it off again.

The sound is loaded in the same movie clip that controls on/off function and is then loaded on it's own layer in the main movie.

Here is the link to the site so you can see what I mean...
http://www.smkcc.com

Please help! THX

(Authoring Mode-test Scene-test Movie )Different Results WHY?
(Authoring mode-test scene-test movie )Different results WHY?I will get mad working on a quiz for a month plz help: im working on quiz game -frame by frame- its 15 scenes each scene contain about 70 frames with 70 action script :go to and stop - go to and play - stop every thing is fine till scene No. 11 in the authoring mode when choose from control menue enable simple buttons - enable simple frame action : its working fine scripts executed fine but when going to test movie mode some scripts doesnt work WHY? what mistakes i have done? what should i do ? how can a void such a problem ? any suggestions PLZ??? Thanks in advanced

Navigation Buttons Work In "test Movie" But Not In Browser
Hi. I'm working on my first Flash site, and I think I've got the basic premises in that I should create a single movie with different scenes as each web page. I have created navigation buttons and set the action to goto and play the corresponding scene name:

on (release) {
gotoAndPlay ("Home", 1);
}

This works fine when I go to test movie, but when I publish .html and .swf, open the .html in MSIE6, the buttons don't work.

Any help?

Summarah

Buttons Not Working In "Test Movie"
Hello everybody!
This is my first post...

My Problem: My buttons will not work when I try to test them by using ctrl-enter or Contol > Test Movie. However, they work ok when I turn on Enable Simple Buttons.

I am confused because I have made buttons that work before. I have seen this question before with no answers. I have heard that there could be several reasons for this, but I don't know what they are.

Maybe we could start compiling a list of possible reasons for this problem?

Thanks a lot for any help, this is a frustrating little bug for me.

How Do You Test Preloader In Test Movie?
hey... another question...

how do i test my preloader in the Test Movie?

when i use Test Movie the file is already 100% loaded so i dont know if my preloader is workin or not. is posting it in the web the only way to test if the preloader is working? thanx in advance. peace and prayer

alex

Test Scene Vs. Test Movie
Whenever I have done work in flash, these two commands have always worked the same. However, this one time, I test scene and the thing works exactly as I would like it to. When I test movie, one of my movie clips doesn't show. I can not find any problems in the code, and the layers all seem right, does anyone know of a difference between these so that I can look for a different problem? I have been racking my brain and the brains of others for about a week now on this. Thank you for any help.

Steve

Test Scene Vs. Test Movie
I have Scene 1 as a loader, and Scene 2 as my movie...

when I "test scene" for Scene 2 the quality looks great!

but when I "test movie", my Scene 2 movie looks like crap!

Anyone know why!? I went to "publish settings" and put all my settings at highest quality possible. jpg's are at 100, and flash settings are all at 100 and best quality.

They are imported jpg's by the way. And look great until I export or even preview as a flash movie. (????)

Thanks.

Test Scene Different Than Test Movie
I am doing a picture page in flash and for some reason it works when I do test scene, but it doesn't work when I do test movie. Does anybody know why this is happening.

Invisable Help ?
hi everyone i have two mcs one of them is dragable to a target below is the code i have now..but i want to know how to make mc1 dissaper once its droped on the target...

this._parent.mc1.onPress = function (Void):Void {
this._parent.mc1.startDrag();
};
this._parent.mc1.onRelease = function (Void):Void {
this._parent.mc1.stopDrag();
if ( this._parent.mc1.hitTest(this._parent.discard_mc) ) {
if ( this._parent.mc1._currentframe == (1) )
this._parent.discard_mc.gotoAndStop(1);
}
}

Invisable Projetor? Is It Possible?
is it possible to make the projector itself invisable, problem is a build a program and have it set to 800 x600 and it would be a royal pain in the you know what to go back and make it smaller because I have a bunch of swf's that load into x and y cordinates. problem is when user who only have a 15" monitor see this then the lose part of it. but if I could have the projetor go fullscreen and invisable then it would bring the movie to the center were everything could be viewd and people with bigger monitors would not be blocked out with this big blue screen.

Invisable Text
Why when i screw any text in my movie it doesnt show up on the swf file ??

Invisable Button
Iam working with a movie song. in the movie there are 9 songs en their text. childeren in the school will learn de songs.
now Iam using an invisible button, when childeren click the text de song will play. I use this actionscript:

on (release) {
if (play) {
stop ();
stopAllSounds ();
}
gotoAndPlay (1);
if (frame=1) {
nextFrame ();
}
}


It's working for me fine, but when the childeren click it will stop everything it was doing and it plays that song. but i need a memory any click dat childeren makes will go to that memory. when the movie finishes or part of movie finishes it will look the memory en it plays watever in the memory is.

plz can anybody help me about that actionscript?

Make Invisable
I'm haing trouble making an external swf to turn invisible and visible with out loading and reloading.

Invisable Objects
ive attached my work in progress to this post... When it opens the file the holes open up and then it shows the button which you can click and it will play the hole opening again.... here is my problem... if you see watch the dynamite hole you cant see the hole opening because there is the picture of the closed hole.... is there a way to make the closed hole invisible while the other movie clip plays?

Help W/ Invisable Button Please...
i'm making an invisable button that will have a hit state and an over state, seperate action for each.
-the over state i want a small movie to play/loop (24frames) while in this state, what will actually be happening is a small graphic bar will be activating while over.
-on hit i want to call up a new url page

i've viewed some tuts on button making and i'm real fuzzy on how to activate a movie with a state (over).
can someone please help explain this to me

Invisable Button On Top Of Another Invisable Button
Ok im confussed here:

If i have an invisable button on top of larger invisable button or in other words 2 invisable buttons one in the foreground the other in the background ....foreground sitting on top of background button.

When I mouse over the forground button everything is fine, when I mouse off foreground button onto background button everything is fine.

When I mouse back from the background button back onto the foreground button the menu closes?

Does mouse over events loose focus when you are moving from forground to background and background to foreground?

Invisable Button Problem. Please Help.
i have an invsible button in a movie clip that animates when you roll on and roll off. but when i place it in a scene i cant make it work when i press it. it will only work within the movie clip. it also wont let me choose a scene or label in the dialog box. please help.

Movie Works Properly In Test Mode, But Only In Test Mode.
I have a button that has a gotoAndStop action, sending user to specific label in the timeline. This button works fine when I test the movie.  But when I open the file directly from the swf - well, it's strange. It appears to go to that frame, but the contents of the frame is missing. What might be the problem? Again, it all works fine when I test it (Ctrl+Enter.)

thanks.

Invisable Image/web Address Counter
I've got a flash interface that will be viewed in a browser. It will be on a CD and will auto run when poped in. The record company wants an invisable counter to track things. They have sent me a web address (http://blahblah.com/blah/blah/image.gif)

I need to make this work by 5pm today (EST)

Does anyone know how to hookup the image so it loads when the flash loads up?

Thanks
scott

Invisable Button Link To Http.....?
hi all!

i have a simple question.
i've got a invisable button that will be under a picture. when the viewer clicks the picture i want a new window to open up to a website that i specify.

i can make the invisable button but am unsure what happens after this point!
pretty lame, huh?

can someone give me an assist?
it will pad your stats!!! lol!

thanks!

let me also add that i have my pics as graphics with tweened aplhas 0-100% and when i put the buttons over them the tweens stopped...why?

[F8] Making Text Visable/invisable
Im trying to make damage numbers show can anyone help please? this is my code for the enemies random damage:

PHP Code:




_root.hp-=lbatk + Math.round(Math.random()*lbmaxatk);






this is the code I use for making the text visable/invisable:

PHP Code:




onClipEvent(enterFrame){
test_txt._visable=true}






this is the variable for the dynamic text:^

PHP Code:




_root.hp-=lbatk + Math.round(Math.random()*lbmaxatk);






So what im trying to do is make the text pop up with the damage in the variable above. Thanks I really need help with this because no rpg is good without the damage showing ^^

Invisable Rollover Button Not Working
Is their a trick to setting an invisible button behind a movie clip to invoke a rollout action. I can get it to sort of work but it's really buggy. The button is larger and in a layer below the movie clip and when you get to the point where the 2 meet, the movie closes instead of waiting until you rollout.

Any help would be greatly appreciated,

thanks,
eFunk

How To Link An Invisable Button To A Website...?
hi all!
i have a simple question.
i've got a invisable button that will be under a picture. when the viewer clicks the picture i want a new window to open up to a website that i specify.

i can make the invisable button but am unsure what happens after this point!
pretty lame, huh?
can someone give me an assist?
it will pad your stats!!! lol!

thanks!

let me also add that i have my pics as graphics tweened from alpha 0-100% and when i put my button over them the tween stopped...why?

Edit Test Buttons
Is it possible to edit the text that i have converted to a button?

Transitions And Hit Test On Buttons
so i found posts concerning reversing the annimation on a button and how to do easy transitions but not on how to do them both at the same time.

here is my action script for the transitions...


ActionScript Code:
on (release) {    if (_root.currMovie == undefined) {        _root.currMovie = "news";        container.loadMovie("news.swf");    } else if (_root.currMovie != "news") {        if (container._currentframe == container.midframe) {            _root.currMovie = "news";            container.play();        }    }}



and here is for the hit test...



ActionScript Code:
onClipEvent (enterFrame) {    if (this.hitTest(_root._xmouse, _root._ymouse, true)) {        this.nextFrame();    } else {        this.prevFrame();    }}onClipEvent (load) {}onClipEvent (load) {}


now i know one is for a movie clip and one is for a button. is there anyway to make them work together in harmony?

thanks
dave

Transitions And Hit Test On Buttons
so i found posts concerning reversing the annimation on a button and how to do easy transitions but not on how to do them both at the same time.

here is my action script for the transitions...


ActionScript Code:
on (release) {    if (_root.currMovie == undefined) {        _root.currMovie = "news";        container.loadMovie("news.swf");    } else if (_root.currMovie != "news") {        if (container._currentframe == container.midframe) {            _root.currMovie = "news";            container.play();        }    }}



and here is for the hit test...



ActionScript Code:
onClipEvent (enterFrame) {    if (this.hitTest(_root._xmouse, _root._ymouse, true)) {        this.nextFrame();    } else {        this.prevFrame();    }}onClipEvent (load) {}onClipEvent (load) {}


now i know one is for a movie clip and one is for a button. is there anyway to make them work together in harmony?

thanks
dave

Test Dopped Buttons With Check
Hey fellow flashers,
I am having a bit of trouble with this drag and drop game I am createing.

What I want to be able to do is after I have dropped serveral images in the right areas, I want to be able to click on a check button to see if they are right.

Thanks in advance!

p.s this the code I am using to drop the images

Code:
on(press) {
startDrag(this);


}

on(release) {
stopDrag();
if (this._droptarget == "/red") {
this._x = _root.red._x;
this._y = _root.red._y


}
else{



this._x = 23;
this._y = 480;
}
}

{

Buttons Work In Test Scene But Not Web
Hi,

I have some buttons on stage at design time.

When I control enter to test them they work fine. However when published to a website they dont respond to mouse events. The cursor doesnt even change to a hand icon anymore. Has anybody come across this behaviour before or have some tips on how to diagnose the source of the problem?


ActionScript Code:
stopButton.addEventListener(MouseEvent.MOUSE_DOWN,stopAudio,false,0,true)
            stopButton.buttonMode=true
            forwardButton.addEventListener(MouseEvent.MOUSE_DOWN,forwardAudio,false,0,true);
            forwardButton.buttonMode=true
            shuffleButton.addEventListener(MouseEvent.MOUSE_DOWN,shuffleAudio,false,0,true);
            shuffleButton.buttonMode=true
            playButtonGlobal.addEventListener(MouseEvent.MOUSE_DOWN,globalPlayAudio,false,0,true);
            playButtonGlobal.buttonMode=true

Buttons Test Question... ( Don't Work )
Hi all,

i need to test 5 buttons (menu), after a "onresize" function, to move them correctly.

here my code :

Code:
stageListener.onResize = function() {
if (btn1.onPress==true) {
onPressBtn(220, btn1, 120, 1, 175);
}
if (btn2.onPress==true) {
onPressBtn(350, btn2, 250, 2, 305);
}
but it doesn't work !!!

i try to put a variable when i press my button ( testPress=1 for btn1, testPress=2 for btn2, etc...). then, on my onResize function, i put this code:if (testPress=2) {onPressBtn(350, btn2, 250, 2, 305)};

but unfortunately, it doesn't work too...


someone have an idea to help me ?

Test Scene Vs. Enable Simple Buttons
What is the basic difference.

My buttons are flashing when I rollover them and they will not link to were I have them going, yet if I Enable Simple Buttons, the buttons work and they link to where I want them to go.

Buttons Not Clickable On Test Scene Stage
My version of Flash MX must be corrupted because I can no longer created buttons that link to url's. Even a simplistic button that links to a url on press will no longer work. When I test scene or movie I can no longer click on buttons.

Has anyone heard of such a thing? What happens to my MX?

Newbie Here - Buttons Work On Stage, Not When I Test In Explorer?
SO i am new to flash - i made some rollover buttons that work in the stage (when i click in 'enable simple buttons') but when i hit CRTL+ENTER to test, the buttons dont work at all - these buttons have text in them - could that be the problem?

This seems like such a simple thing to do, but its not working - any ideas?

Thanks for helping a newbie!

Copyright © 2005-08 www.BigResource.com, All rights reserved