PDA

View Full Version : flash buttons in DW



LippuZz
January 19th, 2004, 06:19 PM
how can i open a page in an iFrame with the flashbuttons that comes with DW?
i can select the target but i can't type iFrame innit like you do with hyperlinks.

TIA

norie
January 19th, 2004, 07:45 PM
not gonna happen. The textfield for the target infomation is readonly. Why don't you just make your own button in flash?

LippuZz
January 20th, 2004, 05:07 AM
because i suck at buttons. i can't even make a decent fade in/out button

norie
January 20th, 2004, 05:11 AM
are you serious? Well, import the DW output swf into flash and just add the code.

LippuZz
January 20th, 2004, 05:24 AM
is there a tute for fade out buttons on this site?
like when you rollover it fades up, rolling out, fade out at the fading possition where you were

norie
January 20th, 2004, 05:32 AM
onClipEvent (load) {
fadeSpeed = 5;
onRollOver = function () {
onEnterFrame = function () { _alpha < 100 ? _alpha += fadeSpeed : delete onEnterFrame;};
};
onRollOut = function () {
onEnterFrame = function () { _alpha > 0 ? _alpha -= fadeSpeed : delete onEnterFrame;};
};
}

like that?

LippuZz
January 20th, 2004, 05:40 AM
excactly like that!
thanx alot.

gonna creat my nav. menu now :)

norie
January 20th, 2004, 05:50 AM
just promise me you'll never used premade buttons again :x

LippuZz
January 20th, 2004, 09:42 AM
hehe, i wont. and i never did...
another prob :S

when i make a button over tha 'aniamtion' it doenst fade anymore in the hir area of the button...

:(