Hey, I’m not an expert with Flash - all I know how to do is by having to do it, I’ve never sat down and learnt flash from the basics so I realise a lot of my knowledge and logic is probably missing.
I’ve created two documents with scrolling thumbnails which are buttons to link to either frames with bigger images or URLs.
My problem? The scrolling works perfectly, but only the first two other functions (onRelease) work and on my other project the first three work - in this case the url to connexions works, the connexions direct one works and that’s it.
Below is my code, I realise I may well be doing this the long way around, but this is the way I’ve learnt. The code for the scrolling I’ve learnt through tutorials online.
_root.publication.publicationinside.publication4.onRelease = function() {
getURL(“http://www.connexions-somerset.org.uk/publications",_blank,"GET”)
}
_root.publication.publicationinside.publication2.onRelease = function() {
getURL(“http://www.connexions-somerset.org.uk/aboutus",_blank,"GET”)
}
_root.publication.publicationinside.publication3.onRelease = function() {
getURL(“http://www.connectsw.co.uk”,_blank,“GET”)
}
_root.publication.publicationinside.publication5.onRelease = function() {
getURL(“http://www.connexions-direct.org.uk”,_blank,“GET”)
}
_root.publication.publicationinside.publication1.onRelease = function() {
getURL(“http://www.youtube.com”,_blank,“GET”)
}
_root.onEnterFrame = function() {
if(_root._ymouse<321) {
cheese = false
}
if(_root._ymouse>322) {
cheese = true
}
if(_root._xmouse<25 and cheese==true) {
publication.prevFrame();
publication.prevFrame();
}
if(_root._xmouse>425 and cheese==true) {
publication.nextFrame();
publication.nextFrame();
}
}