TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

another question pank

Page: 1 Reply
Jan 6th 2003#84702 Report
Member since: Jan 2nd 2003
Posts: 6
on your pankpages site for the scrollable news thing that you can drog do you use a txt file for the text or do you just put the text in the actionscript
Reply with Quote Reply
Jan 6th 2003#84705 Report
Member since: Aug 9th 2001
Posts: 2333
I would put the text in the sctionscript. Just make a dynamic text box, give it the variable 'text' and in frame on of the main timline put: text = 'blah blah blah' and hey presto. Don' stick too close to pank's site..be original and creative.
Reply with Quote Reply
Jan 6th 2003#84725 Report
Member since: Jan 2nd 2003
Posts: 6
its not to close........only resembelance is the arrow
Reply with Quote Reply
Jan 6th 2003#84726 Report
Member since: Jan 2nd 2003
Posts: 6
and pank for the arrow thing i did the best i could from what you said and came up with this......
[php]menu_mc.onRollOver = function() {
this.track_mc.onEnterFrame = followMouse;
trace("follow");
}
menu_mc.onRollOut = function() {
this.track_mc.onEnterFrame = goHome;
trace("back");
}
function followMouse() {
var dx = (_xmouse - (this._x+this._width*0))/5;
if(Math.abs(dx)>.1) {
this._x += dx;
} else {
this.onEnterFrame = undefined;
}
}
function goHome() {
var dx = (0-this._x)/5;
if(Math.abs(dx)>.1) {
this._x += dx;
} else {
this.onEnterFrame = undefined;
}
}[/php]
but this doesnt work to well........
does any one no whats wrong......
http://thinknerd.rant-on.net/coredeep.html
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum