Ok people! I need some help here

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

oops sorry…

add the getURL thing to the button inside the mc, and it will work.

Like this:

[SIZE=1]code for the button:[/SIZE]


on (rollOver) {
gotoAndPlay("over");
}
on (rollOut) {
gotoAndPlay("out");
}
on (press) {
getURL ("movie.swf", level);
}

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.

hey you were so fast to reply so give me a minute or two to try your new way

i´m soo sorry…i´m being a big dumma$$ now…:frowning:

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:

For the record, Guig0 is not a dumba$$.

:slight_smile:

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.

hey Guig0
Thanks a lot it worked, i had a little mess that’s why i had trouble making it work.

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

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”);
}

*Originally posted by senocular *
**For the record, Guig0 is not a dumba$$.

:slight_smile: **

wow :!:… thanks for the correction and the compliment :wink:

eyeball: yes the last post/code is ok =)