urgent flash help
- Started
- Last post
- 4 Responses
- aistrope
Hi there,
I have this flash mx script and now I have to save it back to five due to the clients request.
Could someone please have a look at this code and tell me a work around to get it going in 5.
Any help appreciated!
targY = 0;
dragger._x = theMask._width;
dragger.onPress = function() {
startDrag(this, false, this._x, 0, this._x, theMask._height-this._height);
};
dragger.onRelease = dragger.onReleaseOutside=functio... () { stopDrag();};
theText2.setMask(theMask);
theText2.onEnterFrame = function() {
scrollAmount = (this._height-(theMask._height/1...
targY = -dragger._y*scrollAmount;
this._y -= (this._y-targY)/5;
};
- Prime760
You will probrably have to do some actions directly on your buttons. It would help to see what you are trying to accomplish. Can we see a sample?
- shant0
flash5 won't let you take the hieght or width of a mask, so those are going to have to become numbers, or numbers pulled from a variable you set.
- aistrope0
errr...how do I do that based on that code. I'm a...flash hack.
again, any help appreciated!
Damien.
- sauerbraten0
you're putting button actions on clips i presume, which is not an option for Flash 5, you're going to have to make buttons and put actions on em.