Archive for January, 2006

Cursors In Director

Macromedia has 28 cursors in Director. Its a wonderful thing which I came across a long time ago. Thought of putting it on the blog.
Cursor 1, -1, 2, 3, 4, 254, 256, 257, 258, 259, 260, 261, 271, 272, 280, 281, 284, 285, 286, 290, 291, 292, 293, 294, 295, 297, 298, 299, 300, 301, 302, 303, 304.
Lingo script goes as follows :
on mouseWithin me
cursor -1
end
on mouseLeave me
cursor -1
end

No comments

Pop window using actionscript

Just used this pop method using Flash Actionscript. Posting this so that it can be used by me for future reference.
Code for html page :
script language=”JavaScript”
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=
window.open(URLtoOpen, windowName, windowFeatures); }
/script

Actionscript for Flash button :
on (release) {
getURL(“javascript:openNewWindow(‘test.html’,'thewin’,'height=200,width=250,toolbar=no,scrollbars=no’)”);
}

No comments