it’s doing it again …i can’t add symbols to the list of buttons to which i want the function applied
this sucks!
it’s doing it again …i can’t add symbols to the list of buttons to which i want the function applied
this sucks!
What do you mean? :trout:
Can’t you understand him, ilyaslamasse??? He’s talking about the BETA!!! What beta??? I think I still have several beta tapes in the storage… :trout:
Hm… Strange… I did a quick search on the Macromedia and didn’t find anybody saying that problem… What could it be then???
Hey, shuga… Does that happen alot??? Regularilly???
sorry … i meant lostinbeta
i was trying to get his attention about this file we’ve been working on
if you look on the main timeline > actions layer > frame 1 actions there is a function defined to make the buttons bounce and we got the first four working and i left it alone … now i came back and tried to add another one to the script … and it doesnt work. the fifth button is at the bottom of the list … it’s called “sendnote”
any help is appreciated
Hmmm, odd problem indeed. I am thinking maybe the way it is set up, but I don’t know.
If I add the actions to the button itself it works great, it is just if youc all it from the main timeline.
Hmmmmmmm…
Hm… beta??? lostinbeta??? Dang… :-\
Just out of curiosity…
When you first start the movie, _level0.window.content has nothing under it, and the sendnote gets created when you press tech button… But you have the _root.window.content.sendnote.onPress set up in the first frame of the main timeline… So, you are calling something that does not exist… Does this make sense??? :sleep:
Interesting. I couldn’t take too much of a look at the way it was set up. I am currently running on 96MB ram as I blew a chip today and my comp is SOOOO laggy and Flash didn’t help that so I just checked out if it worked directly on the button real quick.
Cyan… mind taking over for this?
Well… Don’t know why it is working that way, but can’t you just do what lostinbeta said??? I mean putting the script onto its own timeline rather than within the main timeline??? That’d be the easiest way to solve this, I think… Hey, shuga… Let me know if you HAVE TO put the code in the main timeline… I might give some more thought if you have to… Besides that, I’m kinda busy playing Diablo II… Never played all five characters, so I am doing it again… (-: I thought that BestBuy had some rebate stuff going on for the memory… Maybe it’s gone??? Dunno… Too hard to try that with 56k… :cyborg:
that’s not working (putting the actions on the same timeline as the button i’m calling. i understand what you’re getting at though.
i think i’ll try putting the actions directly on each button. once i figure out how to do that :sure:
Movie clips in MX can act like buttons.
So you can use the typical on handlers used on buttons on movie clips as well.
But given the situation that all your code is set up in a prototype for the hitTest and whatnot you only have to define it in an onClipEvent(load)
onClipEvent(load){
this.bounceMe(size, size+_root.jumpSpace);
}
You need to do _root.jumpspace because your jumpSpace variable is contained on the _root timeline.
d/l the movie again and see what it’s doing … it responds to the bounce function but it’s not getting the right size variables
Its because your the script you use kind of relies on the movie being exact height and width, but your button is longer than it is tall.
You will have to change that. I can’t use Flash much because of my retarded computer It goes all blitzy because windows takes up almost all the 96mb of ram I have so I have like nothing left to run anything else…lol.
still does the same thing
i’ve updated the fla on the server to reflect the changes i’ve made
Ok, I took my chances… and boy did this change…lol.
What I do see is this… you never changed “size” to the size you wanted it…lol. I didn’t mean to put size there as something, it was just a variable to tell you that you put the size you want there.
I used this and it looked pretty good…
onClipEvent (load) {
this.bounceMe(110, 110+_root.jumpSpace);
}
time to close flash before my comp explodes.
oooooooooooooooooh HAHAHAHAHAHAHAHHAHAHAHAAHA
how funny … i thought it was a variable, and i couldn’t figure out where you defined it’s value but i figured you did something. lmao
alright
thanks =)
No problem Glad the problem is solved now.
in reference to the sendnote button that we’ve been working on.
i added the code from one of the pop up window tutorials to the button and it doesn’t do anything. the code seems pretty straight forward to me so i’m not sure what i could have messed up
on (press) {
address = "http://www.kirupa.com/modular/pop-up.htm";
target_winName = "kirupa";
width = 640;
height = 480;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
i’ve left kirupa’s addy in there as i haven’t made the html file to load yet.
but nothing pops up when i press the button
A lot of people have problems with that tutorial, I dunno, I think there is something with the script. If you don’t mind having to add Javascript into your HTML file, then check my attachment.
LOL, you didn’t have to post it 3 times! (assuming it was an error by the board because you pressed submit multiple times) I deleted the extra posts. Refer above now
:: Copyright KIRUPA 2024 //--