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




Strange Button Problem



I use Flash MX.

I create a button, then I go down to actions bar and enter my script.

When I come back to the actions bar the button is no longer a button but been replaced by a frame!

What is happening!! HELP!



FlashKit > Flash Help > Flash Newbies
Posted on: 04-25-2004, 05:34 PM


View Complete Forum Thread with Replies

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

Strange Button.
Hi!

I've got a strange problem. look here;

As fast I create a button or movieclip or whatever I cannot add actions to it. I only got a message with the text:
Current selection cannot have actions applied to it.

I'm sure i've converted it to a button. I've also tried to restar flash and my computer, but nothing will work.
Someone gotta clue?

Strange Button Actions
I have one button out of several that all have the same actions applied "on release gotoAndStop()". Each sends the viewer to a particular frame with pictures. They all work except the one which seems to refuse to go to the frame designated. On that particular frame there is static text. The mystery seems to be short lived,indicating that perhaps with the quantity of pictures loading, I may just be trying to get the button to work too soon. The text is on the last frame of the movie.

Is this logical? Do the pictures load in sequence relative to the position in the entire site. There are no other moving parts so to speak, the entire web site is directed by the viewer clicking on buttons with the gotoAndStop actions, or next frame or previous frame or home actions.

All these buttons are taken from the common library of flash mx. Here is another question I have. Why are they all constructed to have multiple layers. Is that just a convenience for developers who might want to attach a series of actions or sound or whatever?

And I thought of a third question. Does anyone have in mind a good site to go get or buy some other styles of buttons?

Thanks

Strange Button MC Issue
I have a weird issue which I have never experienced before. I created a button and then placed that button in an MC which I placed on the main stage. I assigned an action to that button to go to a different scene. For some reason, it doesn't work. But when I use the button on the main stage by itself, it works fine. I know I have created MCs with buttons in them before and they worked fine....what's the problem now???
This seems like such a basic routine...but can not explain the problem..

Strange Button Behavio
I am having problems getting a movie to replay after clicking on another movie.
here is the example
www.nurvnetsys.com/wone.swf

if you click tournant gear then jersey and click on a jersey its fine.
But then when u go to pants and click on a pant button the jersey button won't load the jersey movie.
Any ideas?
i can post the code for the buttons if you need that

thanks
undrdg

Strange Button Behavior.
Hi again,

my button behaves strange in a movie. Sometimes it takes action after one mouse click, sometimes user has to klick it twice to get an effect. Button has action:

on (press) {
gotoAndPlay (180);
}

Do you have any idea, what can be wrong?
I`m getting mad, by trying to find what`s happening with it..

Nerijus.

Strange Button Problem
I have a very strange button problem that is driving me crazy.

Details:
I have 3 buttons, all contain movies on rollover and on press pop open a new window to play a .mov file.
On Safari and Netscape, all 3 buttons work with no problems. On IE, only 1 of the buttons works, the other two do not pop open a new window. All 3 buttons have the very same actionscript which is below.

What's the deal? I'm puzzled. I've tried deleting the button and creating brand new ones, retyping the action script and everything and still IE will not allow all 3 buttons to work, only one. This is in the sights section of my website www.plainestudios.com. The top 3 buttons for plaine, world leader pretend and bad news friday. WLP works, the other 2 do not (only in IE).

Help please? I'm completely lost.

The action script on the button:
on (press) {
address = "http://www.plainestudios.com/leftvideo.html";
target_winName = "...left";
width = "360";
height = "360";
toolbar = "0";
location = "0";
directories = "0";
status = "0";
menubar = "0";
scrollbars = "0";
resizable = "0";
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}


That script is on a button that doesn't work, the same script is on the button that does work (different URL of course, but formatted the same).

Then in a different layer (at the top) in the movie where these buttons rest I have:
Movieclip.prototype.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
"javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('"+url+"','"+winName+"','"+"width="+w+ ",height="+h+",toolbar="+toolbar+",location="+loca tion+",directories="+directories+",status="+status +",menubar="+menubar+",scrollbars="+scrollbars+",r esizable="+resizable+",top='+((screen.height/2)-("+h/2+"))+',left='+((screen.width/2)-("+w/2+"))+'"+"')}else{myWin.focus();};void(0);"



Again, this works fine in Safari and Netscape, but only ONE of the buttons with this script on works in IE. Help?

Strange Button Actions Please Help
I have a button (resizer) nested within a MC called (Drag)which is in a MC called(oak1). This button allows me to drag Oak1 to resize it. (like a windows menu)

I have it set up that when the drag mc loads it is not visible.
if you click on a button within oak it become visible.

What I want to do is when you release (Resizer) it hides the drag MC
the code I have on the Resizer button is below. The only problem is when I release the mouse button it does not release the drag function. any ideas? Im pretty sure on the path I double checked it with the objects window from the debugger.


on (press) {
startDrag (this);
}
on (release, releaseOutside) {
stopDrag ();
_level0.oak1.drag._visible=false;
}

Strange Button Issues
My site's artist buttons aren't consistent in linking to the correct pages. For some reason when one clicks on artist or any artist on the front page, they are directed to the links page or events page. Kinda strange.

www.russboy.com

I used Flash MX to create the site Running Windows XP.

Strange Button Problem
Hi was wondering if anyone here can help a newbie out!

attached is a flash file of the problem i'm having..



Basically I want a simple roll over function on an invisible button, and the result being text fading in.

However, some text fades in, but the main bulk of text is immediately displayed instead of fading in with the rest.



have been scratching my head about this for hours and cant seem to sort it.

Any help most appreciated!

Thanks,
Luke

Strange Button Effect
does anybody knows how to make the fade effect of the text buttons of this site with actionscript? ej: http://www.probe3.com/probe3.html

thanks

Iván

Strange Button Issue
Ok, so I made a drop down window, and all the visuals work fine. You click the menu button, causing x amount of categories to drop down, and if you mouse over a category, a few sub-categories appear. The plan was to have it so when you clicked a sub category button, it would take you to x frame on the main timeline, but I basically can't get that to work

The script I have now is:

on(release){
_root.gotoAndStop(20)
}

(and yes the sub-categories are buttons, not movie clips)

Its basically a button, in a MC in a MC

I thought that would work, but it obviously doesn't, can anyone give me a hand? I sort of have to meet a deadline for this

oh, flash 8, actionscript 1&2

Strange Radio Button Bug
I'm working on a project that I didn't start. The timeline was provided to me, populated with assets and some code. I've added more code and rearranged a little, but it's more what I received than what I've done. That said...

there's a screen with five radio buttons that are part of the same group. Those radio buttons were skinned by the person who gave me the file. I've built a broadcaster/listener model to react to user activity with regard to those buttons. Here's the problem:

Every time the user clicks a radio button, the listener responds once for the total number of clicks there have been on the group. In other words, when clicking for the first time, the code properly runs through the statements in the listener object's relevant handler. The next time the user clicks a radio button, the listener object's handler is executed TWICE. Click again and it's executed for a third time. And on and on. Very strange.

If I make a new file with radio buttons and the same broadcaster/listener model, this does not happen. A click leads to a single execution of the listener as it should.

Has anyone ever come across such a thing?

Strange Button Behaviour
I am seeing a very peculiar behaviour with the onPress & onRelease functions.

I have 10 buttons on a movie. The button functionality works fine. The thing is when I click a button once and then click it again a second time without moving the mouse it won’t work. So long as I move the mouse, even a pixel and then click it works !.

Very strange and very confused.

Strange Button Links
Hi, some please help!

Every link works in my flash swf file until I upload the file onto the internet
had anyone else had this problem? its only one link, all the rest are fine!
I using actionscript 1.0 or 2 becuase of the code for my preloader but exporting as flash player 7 swf.

whats going on??

Strange Button Porblem
for some odd reason my button is not working. could someone take a look and see what i am missing ( i know this sounds ridiculous -- but for the life of me i cannot figure it out)

here is the fla

Strange Animated Button
Hello everyone

Perhapse this one is too much about details but anyway - hope the flashmasters will give me an idea how to solve this problem, cause I couldnt find it anywhere on net.

I will use an example to make it more clear. Lets say we have a button that fades in from Alpha 0% to Alpha 100% when rolling over it and that fades out when rolling out from it (Alpha 100% - Alpha 0%). All the tutorials used method where when rolling out it played "fade out" tweening from the very beginning. How to make button that for example when rolling out when the fade in effect is not finished yet will fade out from the position where it stops fading in? Desirable effect is when rolling out at Alpha 50% would fade out from 50% not 100%

Hope its clear enough
Thanx in advance

HELP -- Strange Button Behavior?
I´m trying to fix a strange bug, when the user presses on an arcade button from the common libraries, the active window where the flash file is playing becomes inactive, hides behind other windows etc.

On the button is a simple, on (press) { _root.somefunction (i) }

any ideas??????

Strange Button Problem
Someone please take a look at my .fla and help me figure out why this strange thing is happening. I have used actions to control my buttons which works fine but the number in the upper right is a movieclip also which I control with actions. It all works but after you roll out at the last frame it goes to my default number which is.01, I can't figure this out, Its got to be something easy but I don't see it. Thanks for the help. Here is the .fla.
http://www.nucklewebdesign.com/dloads

Help Strange Button Not Working
Hi everyone...

I´m posting this thread because i´m having a big problem with some weird button.
I placed a menu that has a tween rollover effect, and with this effect, every buttons inside of it don´t work.
I have attached the fla so i hope anyone could help me out....

Thanks for all

Strange Button Porblem
for some odd reason my button is not working. could someone take a look and see what i am missing ( i know this sounds ridiculous -- but for the life of me i cannot figure it out)

here is the fla

Strange Animated Button
Hello everyone

Perhapse this one is too much about details but anyway - hope the flashmasters will give me an idea how to solve this problem, cause I couldnt find it anywhere on net.

I will use an example to make it more clear. Lets say we have a button that fades in from Alpha 0% to Alpha 100% when rolling over it and that fades out when rolling out from it (Alpha 100% - Alpha 0%). All the tutorials used method where when rolling out it played "fade out" tweening from the very beginning. How to make button that for example when rolling out when the fade in effect is not finished yet will fade out from the position where it stops fading in? Desirable effect is when rolling out at Alpha 50% would fade out from 50% not 100%

Hope its clear enough
Thanx in advance

Very Strange Button Problem Heeeelp
OK, I have a small button and part of it is a '<' sign as it goes backwards. When i press the button it loads the right frame/ mc but afterwards the '<' stays on the screen, even tho the rest of the button fades out as it should. Also, the < still has the attached action script. It doesn't show on the .fla so I can't find it to delete it where it shouldn't be. It only appears on my preview and so I guess it will on my published site...

v annoying. Any ideas?
thx for your time
Lev

Very Strange Button Probs. Pls Heeeelp
OK, I have a small button and part of it is a '<' sign as it goes backwards. When i press the button it loads the right frame/ mc but afterwards the '<' stays on the screen, even tho the rest of the button fades out as it should. Also, the < still has the attached action script. It doesn't show on the .fla so I can't find it to delete it where it shouldn't be. It only appears on my preview and so I guess it will on my published site...

v annoying. Any ideas?
thx for your time
Lev

Strange Button Probs PLSSS HELP
hi, only 2 links working at the mo but my site is at:
http://www.geocities.com/hel_leviathan/home.html

problem is; if i start on page 1 (home) and click to page 2 (services/about) everything is ok, however if i click from page 2 to page 1, then try to get back to page 2, nothing will work! it all works fine in my .swf's but not in .html. i think part of my problem may be this; when i open page 1 normally my url reads:
http://www.geocities.com/hel_leviathan/home.html
but when i access page 1 thru 2 it reads:
http://www.geocities.com/hel_leviathan/home.html#home

any help would be much appreciated
lev

Strange Button Probs PLSSS HELP
hi, i know it gets complicated when i do things like this but thought it may be more of an action script problem. if you wouldnt mind taking a peek:
http://www.flashkit.com/board/showth...hreadid=431297

thx a lot, really doing my head in now

Button Hyperlink Acting Strange:
Now bear with me, as I'm a Flash super-newbie.

I've got a button whose hyperlink doesn't seem to cover the whole button. I can't really explain it, but I can show you:

http://portal.iowarecorders.org

The "Services" button is the one that is messed up. If you click on the right side of the word "Services" it actually takes you to "default.asp". I'm not sure what I messed up, but could someone please take a look at my .fla file and tell me what I did:

http://portal.iowarecorders.org/flash/banner.fla

Thanks,
Matt

Strange Hit State Button Problem
I have a flash nav bar for a php site, the flash buttons are at the bottom of the header section. The problem i am having is more of an annoyance than anything, the buttons work but when they are rolled over the cursor continuously flickers between the hand and the arrow as if the hit state is defective. This isnt the case though, the hit state is more than big enough to create a suitable active area for the button. When viewed in the standalone flash player the buttons work perfectly.. has anyone come across this before?

cheers.

Text Button Acting Strange
Hello:

This is my first attempt at flash and I ran into some problems when creating buttons from text. When you roll over the text it does not activate the buttons down or over state.

I made a rectangle over the text in the hit area but that does not seem to work on rolling over the text. It works around the text but not on it.

I then made the text static and gave it a variable name, because I did not know what else to do.

I am at a loss and figured I would ask the community.

Here are the links to get to the site and access the fla.

Link to flash intro


link to flash fla

Thanks for any help

Dragging On/off Button Behaves Strange
I got this odd situation with the touch surface ("surface button") in which lies the code:

on (rollOut) {stopDrag()}
on (rollOver) {startDrag (this.turn , true, 740, 498, 10, 498)
}

What happens is that a small clip is running left-to-right with mouse moves at the bottom of the screen as long as the mouse moves along the surface.

good.

In the stage there are several buttons that are waiting for attention.

They are outside the "surface button".

The problem starts when you hit the mouse on the "surface button".

all I left with is the movie running in the same place (all movie clips continues). BUT the all other buttons not working anymore when mouse roll over them.

StopDrag on them doesnt work also.

Any1 got any ideas??

p.s.
This is present site's flash. The surface button I was refering to is in the center strip - where the big buttons lies:

www.nisui.co.il

Strange Hit State Button Problem
I have a flash nav bar for a php site, the flash buttons are at the bottom of the header section. The problem i am having is more of an annoyance than anything, the buttons work but when they are rolled over the cursor continuously flickers between the hand and the arrow as if the hit state is defective. This isnt the case though, the hit state is more than big enough to create a suitable active area for the button. When viewed in the standalone flash player the buttons work perfectly.. has anyone come across this before?

cheers.

Button.onPress - Strange Problems
Ran a search for this but came up with nothing..

I have a menu system which features a couple of keyframes, each with different buttons on them. The buttons are named, and I'm using actionscript like this on the first keyframe:

roleCA.onPress = function(){
gotoAndStop('CA');
}

On the second keyframe (second level of the menu) are a bunch more buttons with functions assigned to them. These are the problems:

1) One of the named buttons never runs its function. It has the same actionscript as the other buttons - I have renamed it many times, but no luck.

2) If I leave a button unnamed, it will run the function for roleCA as above

3) If I name all the buttons, they all stop working, but the button mentioned in (1) starts working!

This is very freaky - any ideas?

Joe

Strange Problem With Button Going To Nextscene
Im making an enter button for my site and created the button and put the action

Code:
on (press) {
nextScene();
}
with a

Code:
stop ();
on the first frame of the second scene and it worked just fine... then I started working on setting up the second scene and went to test the button in the first scene again and its not working now.. I have changed nothing in the first scene that I know of and havent messed with any actions or mc's that I know of. When I click the button now the button just disappears and doesnt proceed to the next scene. Anyone know what could be causing this?

Id upload the fla but its 192 kb so cant do that... If anyone can help it would be greatly appriciated! This stupid problem is holding me up from setting the rest of the site up!

another question I have to is if I have a preloader in the first scene does it preload the second scene as well? If it does that would be awesome but since I dont have the rest of the site built I cant really tell myself.

thanks

Strange Problem With Button Hit Areas
Hi all

I have a pop-out menu, so the 'button' on the menu has onrollover go to frame 5.... which is the 'popout'.

All works well
I'm having problems with the HIT area of the buttons and popout menus - I'm defining the buttons hit areas as covering the button itself and the popout menu, then telling flash on rollout - go back to frame 1.

It kinda works but Flash is getting confused... any suggestions?

Strange Problem With Button Going To Nextscene
Im making an enter button for my site and created the button and put the action

Code:
on (press) {
nextScene();
}
with a

Code:
stop ();
on the first frame of the second scene and it worked just fine... then I started working on setting up the second scene and went to test the button in the first scene again and its not working now.. I have changed nothing in the first scene that I know of and havent messed with any actions or mc's that I know of. When I click the button now the button just disappears and doesnt proceed to the next scene. Anyone know what could be causing this?

Id upload the fla but its 192 kb so cant do that... If anyone can help it would be greatly appriciated! This stupid problem is holding me up from setting the rest of the site up!

another question I have to is if I have a preloader in the first scene does it preload the second scene as well? If it does that would be awesome but since I dont have the rest of the site built I cant really tell myself.

thanks

Really Strange One - Button Affecting Underneath Graphics?
When i push the 'contact' button on my site, the movement of the button slightly alters the image underneath. Why is this happening?

See for yourself!!

http://www.jockaye.fsnet.co.uk/home.htm


Thanks for your help

Graeme

Button In SWF Loaded Into Scrollpane Acting Strange
I finally figured out how to load the SWF into a scrollpane, which is so easy. ( you still have to figrure out placement )

Anyway I have buttons in the swf, and when clicked load an external swf.

Well, it loads the external swf, but unloads the scrollpane at the same time.
SO WIERD

Why would this happen? Is it suppose to happen? HELP PLEASE!!!

thanks so much!!!!

Play/Pause Button. Strange Problem With Variable.
Hi all.

I have created some graphics to use as my video playback controls for an embedded SWF file in my project. Here is the code i have put on my Play/Pause button (so it is a play button if the video isn't playing, and a pause button if it is playing.)


Code:
var move:int = 1;

playPause_btn.buttonMode = true;
playPause_btn.addEventListener(MouseEvent.CLICK, pauseHandler);

function pauseHandler(event:MouseEvent):void
{
if (move == 0) {
cam5145759.play();
move = 1;
}
else {
cam5145759.stop();
move = 0;
}
}
The problem is that the clip starts playing, and the initial pause works fine. But then it wont play again, unless i press the button multiple times quickly, a random amount of presses to get it to play each time. Strange thing is i have used this code before and had it working.

I traced the variable move everytime the button is pressed and it appears that the variable doesn't change and stays on 1 and therefor constantly pauses the video. Does anyone understand why my variable doesn't seem to change (apart from random multiple taps occasionally)?

Thanks Danny.

Asfunction & Graphic Button - Strange Conflict Found
Hello all,

I've encountered a really bizzare bug in flash and I'm hoping someone has seen it before. I could really use a workaround of some type.

I have some html loaded into a TextField and an "a" link within that triggering an "asfunction" in my flash file. Simple stuff. The problem I encounter is that once I press that link, my buttons begin to exhibit some non-standard behavior.

Once I rollover and release one of my buttons, I'm forced to move the mouse in order for that button to allow another press/release. Usually the button comes right back to it's rollover state if you hover over it after clicking. A client noticed this on their laptop, which makes some sense, it's very easy to repeat mouse clicks on your laptop w/o moving the cursor.

I've attached a fla with a good working example of this. Remember - you need to press the html link in the Text Field before trying to get the buggy behavior from the button.

A couple things to note:
- I have a UI List component on my stage, once this is removed from the stage and library, the error disappears. Makes me wonder if this has something to do with the focusManager.

- rapid fire pressing of the button will sometimes yield a few clicks, even after you've pressed the "a" link. Seems like there's a very short window where a press can register. Doesn't help me much.

Thanks for taking the time, all help is appreciated.

Strange Behavior - Link Text Showing Through Button
I have a menu bar with 4 buttons. When I added links to the buttons, two of them let the link text show through the buttons (not desired), the other two do not (as should be). I can see nothing different about the two buttons in the center. Here is the result:

SOLVED: I don't know why, but for some reason earlier when I switched the location of the two buttons on the menu bar, or perhaps when I added the link action script, a text box with the link text in it got added to the movie itself.

Strange Strange For Loop Problem
i have the following for loop within a private constructor in a class:


PHP Code:



        // Place season choice buttons        for (i = 1; i <= numSeasons; i++) {            thisSeason = setSeasonVar["Season"+i];            var mcName:String = "MC_seasonChoice"+i;            var depthToUse:Number = 1001+i;            var seasonChoiceXPos:Number = 100 + (i*60);                        // Add season choice            seasonNavHolder.attachMovie("MC_seasonChoice", mcName, depthToUse, {_x:seasonChoiceXPos, _y:67, txt_seasonChoice:thisSeason});                        // Give season choice button actions            seasonNavHolder[mcName].onPress = function():Void {                trace(thisSeason);            }        } 




everything works except the "trace(thisSeason)" line of the script. Here, it seems that the script is no longer in the for loop. Each onPress event traces the last value of the array.. the last value to be returned from the query and placed into the loadVars object...

is this a scope thing?

GotoAndStop? Strange, Strange
I have an instance of a movieclip my_mc linked to a class file in the first frame of the maintimeline.

The movieclip my_mc has two frames, the first of which calls a function on the maintimeline:


Code:
_root.myfunction();
myfunction is defined thus:


Code:
function myfunction() {
trace("function called ok");
_root.my_mc.gotoAndStop(2);
}
The 2nd frame of the my_mc has a trace.

The problem is this: The call to the function from the first frame of my_mc works fine... the trace shows up. But, the call to gotoAndStop(2) doesn't work.

The strange thing is, when I remove the linkage to the class file (deselecting "Export for ActionScript" in Properties for the movieclip) it works fine - the movie goes to frame two of my_mc.

Anyone any idea what's going on?? Any help greatly appreciated. Already wasted half a day fiddling around with this.

Strange
i have a movie with 2 scenes(pre , scene1).In pre i want to add a percentage preloader.I have one frame with stop action on it and i put a MC(instance=preloader) with 11 frames showing the percent bar.I put anther mc in the main scene with two frames having the action<If frame Loaded, scene1, 1, goTo, _root.preloader, Frame 1 and stop. and simailarly if frameloaded scene1 frame 2 goto tell target _root.preloder and stop 2 and so on..>when I

preview it in flash player it says [target not found _root.preloader,]why??? i even tried to put ../preloader,_parent.preloader,_pre.preloader but nothing seems to work???why? Or any other way to put percentage preloader ???

thanx!

Very Strange Please Help
Ok, here is the problem: I have a movie, the 1st frame in the timeline is empty except for a preloader graphic...For some reason, when I test the movie, the preloader doesn't start until at least 3K of the movie has loaded. The preloader script is in the 2nd frame, so it can't be the preloader that is holding it up...What could it be???

It's A Strange 1
Right i wiil see if i can get this right.

"Main.swf" has a button that loads another movie into it "login.swf". The movie "login.swf" is located in another folder on the server "loadMovie folder/login.swf, _level1"

Now as i said the "login.swf" movie is located in another folder and also in that folder are php scripts to work with the login.swf.

My question is:

When i click on the login button do I call the php script from the folder that contains the "login.swf" movie or since the login.swf movie is in that folder already can i just call them in as:

Code:
on (press) {
loadMovie("login.swf", _level1);
}
or

Code:
on (press) {
loadMovie("adminlogin/login.swf", _level1);
}
jst a thought
Anyone

Cheers

A Strange One
I have made a small form with a invisible button off stage to Tab through the fields in order

actionscript as follows

tabOrder = new Array();
tabOrder[0] = "Name";
tabOrder[1] = "Email";
tabOrder[2] = "Telephone";
tabOrder[3] = "Subject";
tabOrder[4] = "Entry";

on (keyPress "<Tab>") {
if (index<tabOrder.length-1) {
index++;
} else {
index = 0;
}
Selection.setFocus(tabOrder[index]);
}

it worked fine until I needed to publish in wmode=transparent

now its gone barmy, any ideas why, or a decent workaround?
are transparent bg swfs more trouble than they are worth?

be interested to hear anyones thoughts (or strange behaviours encountered) whilst using this method.

a very confused JB

Strange
i give a movie clip this action :

onClipEvent (enterFrame) {
if (Key.isDown( 37 )) {
this._x = this._x - 5;
}
}

Then when i press left he's goes to the left and thats fine.
but i also want it to change frame so i put in this

onClipEvent (enterFrame) {
if (Key.isDown( 37 )) {
gotoAndStop(6);
}
}

but then nothing happens when i press left.

anyone know what im doing wrong

(sry im noob )

thnx vorty

Very Strange Please Help
Hi,

I have this movie in which I'm using _sans for the font (flash 5). Well when I preview it, the text doesn't show up, but if I make it dynamic text, then it shows up, but with dynamic text I can't use different colors or bold/italic within a text block--it comes out all plain and one color.

Help!!!!
thanks in advance

Very Strange.........
Very strange.........

See, I have 3 MC on my library: black, purple, blue, wich are placed on scene with attachMovie, so their names goes as follows:
black - from 1 to 10,
purple - from 11 to 20 and
blue - from 21 to 30.

Each one has a variable called "AndaX" and "AndaY", as:
andaX = _root.speed * signalX;
andaY = _root.speed * signalY;

Ok OK OK

Now, I need blue to know black's AndaX, OK?
So I did (inside blue):
for (i=1; i<=10; i++){
theirSpeedX = _root[n].andaX;
theirSpeedY = _root[n].andaY;
trace("AndaX black = " + theirSpeedX);
trace("AndaX black = " + theirSpeedY);
}

And I got a very strange number, as 1.57573217712343 or 5.56227283459157

Ah! In these codes are no such things as Math.random or random

Strange Mc
hi!
i dont know what the time now in the us but i will be glad to get the answer as quicly as possible.
anyway, here is my problem, code i regular use and everyone does work in flash on release of the button the mc (instance name = creatures) start playing
they arent in the same timeline

thank you for your help almog,flash-man

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