View Full Version : My links are not working flash cs3
Im sure this is basic but I have been editing a flash page and none of my links are working.
For example I click on text in flash cs3 pro and I get a bar with a chain link next to it among other thing. I put the html link I want to goto when I click the text but it still taking me to the old flash page.
http://www.arachnocharlotte.com
is the site. If you click on forum it takes you to the old flash gallery page. How do I make it take me to
http://www.arachnocharlotte.com/forum
Thanks for the help.
Medyman
06-06-2008, 01:08 PM
For example I click on text in flash cs3 pro and I get a bar with a chain link next to it among other thing. I put the html link I want to goto when I click the text but it still taking me to the old flash page.
Are you sure you're using Flash CS3? I've never seen a button to manually add a URI that get converted into a button. Where are you seeing this button?
To change what this button does, you'll have to change the ActionScript associated with it. So the first task would be to find where the AS is that is linking to the gallery page. It's not wise to have multiple conflicting action applied to the same movieclip/button.
I will go and remove all the links but let me show you what I mean.
http://www.arachnocharlotte.com/assets/junk/flash1.jpg
Thanks so much for looking at these I am a total noob with flash.
http://www.arachnocharlotte.com/assets/junk/flash2.jpg
Do you have any idea where I might find the action script? I need to change it for every link on the whole page... I can only think of 5 that don't need to be changed lol.
[edit]
I just found the action script under window and action. It's like a whole new code *Cries* I gues now I need to figure out how to convert this
on (release) {
if (_root.m<>1) {
_root.scrHEIGHT = 200;
_root.scroller._x = 100;
_root.scroller._y = 150.7;
_root.scroller.scroller.gotoAndStop(2);
_root.TM_title = "Home.02";
_root.READ = 2;
}
}
into maybe
<weblink href="http://www.arachnocharlotte.com/forum"/>
Thanks so much for the advice I really need it hah
Medyman
06-06-2008, 05:19 PM
I will go and remove all the links but let me show you what I mean.
Ahh, I had forgotten that this feature even existed. Sorry for my ignorance. I'm just so used to do it by ActionScript.
Doing it like that will work...as soon as you delete any ActionScript related to that button. But, since you' have animations etc... going in relation to the onRelease, it's probably not the best way to do it.
Click on the button in question, hit f9, and paste everything that's there in this thread. I'll help you convert it.
Bascially, you'll need to add the following:
getURL("http://www.arachnocharlotte.com/forums");
but you might also have to delete some things.
This is for the text links
on (release) {
if (_root.m<>1) {
_root.scrHEIGHT = 200;
_root.scroller._x = 100;
_root.scroller._y = 150.7;
_root.scroller.scroller.gotoAndStop(2);
_root.TM_title = "Home.02";
_root.READ = 2;
}
}
This one is for the links in the menus Forum
on (rollOver) {
if (_root.b<>3) {
gotoAndPlay("s1");
}
}
on (releaseOutside, rollOut) {
if (_root.b<>3) {
gotoAndPlay("s2");
}
}
on (release) {
if (_root.b<>3 and _root.m<>1) {
_root.Y = 255;
_root["b"+_root.b].gotoAndPlay("s2");
_root.cont.cont.gotoAndPlay("diss");
_root.b = 3;
_root.bats.gotoAndPlay("s1");
_root.scroller.scroller.gotoAndStop(3);
}
}
And this one is for the menu button Shop
on (rollOver) {
if (_root.b<>4) {
gotoAndPlay("s1");
}
}
on (releaseOutside, rollOut) {
if (_root.b<>4) {
gotoAndPlay("s2");
}
}
on (release) {
if (_root.b<>4 and _root.m<>1) {
_root.Y = 280;
_root["b"+_root.b].gotoAndPlay("s2");
_root.cont.cont.gotoAndPlay("diss");
_root.b = 4;
_root.bats.gotoAndPlay("s1");
_root.scroller.scroller.gotoAndStop(3);
}
}
Thanks so much for helping me out man
Ahh, I had forgotten that this feature even existed. Sorry for my ignorance. I'm just so used to do it by ActionScript.
Doing it like that will work...as soon as you delete any ActionScript related to that button. But, since you' have animations etc... going in relation to the onRelease, it's probably not the best way to do it.
Click on the button in question, hit f9, and paste everything that's there in this thread. I'll help you convert it.
Bascially, you'll need to add the following:
getURL("http://www.arachnocharlotte.com/forums");
but you might also have to delete some things.
Thanks for the help man but I figured it out
on(release) {
getURL("http://www.arachnocharlotte.com/forum", "_blank");
}
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.