is it possible for an xml menu to go to a specific frame within the swf? Like a regular button would
let me know…thanks guys!
(im don’t necessarily need code…i just want to know if this is common or possible.
is it possible for an xml menu to go to a specific frame within the swf? Like a regular button would
let me know…thanks guys!
(im don’t necessarily need code…i just want to know if this is common or possible.
I don’t see why it wouldn’t be possible, if you set up your XML sort of like this…
<button text="blah" gotothisframe="5">
Then all you’d have to do it
button1.onRelease = function() {
gotoAndPlay(....guide to node.attributes.gotothisframe)
}
Hope this helped.
[quote=jpodz;2356213]I don’t see why it wouldn’t be possible, if you set up your XML sort of like this…
<button text="blah" gotothisframe="5">
Then all you’d have to do it
button1.onRelease = function() {
gotoAndPlay(....guide to node.attributes.gotothisframe)
}
Hope this helped.[/quote]
Great thanks…as long as i know its possible :)…i will make it work and post script…thanks!
ok so heres what i have…
my xml for my menu is setup like this…
<?xml version="1.0" encoding="UTF-8"?>
<menu buttonsSpacing="25" >
<item title="Portfolio" itemColor="0xFFFFFF" itemRollOverColor="0x0EF0C0">
<subitem title="portraits" link ="http://www.ffiles.com/users/NoGrids" />
<subitem title="conceptual" link ="http://www.ffiles.com/users/NoGrids" />
<subitem title="art" link ="http://www.ffiles.com/users/NoGrids" />
<subitem title="self" link ="http://www.ffiles.com/users/NoGrids" />
</item>
</menu>
Instead of them linking to outside links/pages. I need them to target a specific movieclip within the swf and go to a specific frame…possible?
also heres the key btn AS…how do i modify this to match up weith the xml?
//call function when on release
mc.onRelease = function(){
//trace(this);
if(this.link != "" && this.link != " " && this.link != undefined){
getURL(this.link,"_blank");
}
}
:: Copyright KIRUPA 2024 //--