View Full Version : ok people! I need some help here
Eyeball
February 21st, 2003, 09:24 AM
ok people i need help
problem with get url ...
I created 4 layers:
layer 1-(actions): with a 'stop' function in the first and 12th frames, and 'gotoAndStop(1);' in the last 31st frame.
layer 2- (labels): have no code, only frame titles "over" and 'out'
layer3 -(layer2): its MC in motion tween
and layer4 - (invisable butt)' which has this code below
on (rollOver) {
gotoAndPlay("over");
}
on (rollOut) {
gotoAndPlay("out");
}
and now when i convert this MC clip in a button and add get URL command then motion tween animation doesn't work. and it doesn't even open my URL page either, also i will be loading external swf with the same butts. any clues?Please Please!Please!
any suggestions will be so much appreciated
Guig0
February 21st, 2003, 09:31 AM
oops sorry...
add the getURL thing to the button inside the mc, and it will work.
Like this:
code for the button:
on (rollOver) {
gotoAndPlay("over");
}
on (rollOut) {
gotoAndPlay("out");
}
on (press) {
getURL ("movie.swf", level);
}
Eyeball
February 21st, 2003, 09:43 AM
it still not loading my url page I did what you suggested and also added this :
________________
on (press, release) {
getURL("http://blah.com", "_blank");
}
____________________
so now my code looks like this :
_____________________________-
on (rollOver) {
_root.gotoAndPlay("over");
}
on (rollOut) {
_root.gotoAndPlay("out");
}
on (press, release) {
getURL("http://blah.com", "_blank");
}
_____________________________
I also tried to convert this MC into a button and then add this code below and still didn't work. I am using MX
__________________________
on (press, release) {
getURL("http://blah.com", "_blank");
}
_________________________________
is there any otherway or am I doing something wrong here.
Eyeball
February 21st, 2003, 09:47 AM
hey you were so fast to reply so give me a minute or two to try your new way
Guig0
February 21st, 2003, 09:54 AM
i´m soo sorry...i´m being a big dumm***** now..:(
what i meant was:
on (rollOver) {
gotoAndPlay("over");
}
on (rollOut) {
gotoAndPlay("out");
}
on (press) {
loadMovieNum("movie.swf", level);
}
...loadMovieNum, not getURL...
try this attached file:
senocular
February 21st, 2003, 10:09 AM
For the record, Guig0 is not a dumb*****.
:)
Eyeball
February 21st, 2003, 10:19 AM
this little sucker is giving me a headache, I tried that too and its not workin either, I saw your file and it seems that it works fine.
take a look at this. In my movie I have a main movie and a container to load an external swf , do you think this is something to do with it? shoot!!! WHAT ELSE DO YOU THINK IT COULD BE?
I did what you suggested and it is not working.
Eyeball
February 21st, 2003, 10:35 AM
hey Guig0
Thanks a lot it worked, i had a little mess that's why i had trouble making it work.
Eyeball
February 21st, 2003, 11:08 AM
Guig0
can you help me with another issue that i have??
u see this file the one you saw has a conatiner that loads external movies, but when i add the code you gave me it simple opens a new window but what i actually want is to be able to load external SWF in the same existig help.swf movie something like this
on (release) {
_root.contents.loadMovie("home.swf");
}
is it possible to apply that code for this kinda button? that would load external swf's
thanks a million
Eyeball
February 21st, 2003, 11:11 AM
hey there
sorry to bother you but i think I made it work I added this code below, does it look right?
on (rollOver) {
gotoAndPlay("over");
}
on (rollOut) {
gotoAndPlay("out");
}
on (release) {
_root.instructions.loadMovie("home.swf");
}
Guig0
February 21st, 2003, 11:15 AM
Originally posted by senocular
For the record, Guig0 is not a dumb*****.
:)
wow :!:... thanks for the correction and the compliment ;)
eyeball: yes the last post/code is ok =)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.