ActionScript 2.0 :: Claudio Scroller Working At An Angle?
Dec 31, 2005
I've been messing with the Claudio Scroller trying to get it working on an angle. Right now I've got it working but really buggy like and it has some issues. I got it working pretty much perfectly at the angle its set on right now in the fla, but I want it to be workable at any rotation without having to change any numbers.
ps - this is running flash 8 with as 2.0. the first file is for those with flash 8 the second file is for those with mx2004.
fixing my XML thumbnail images to work with Claudio's scroller. The scroller doesn't adjust correctly to show all of the dynamically loaded thumbnails..? I found this thread explaining why this is happening but I haven't been able to correct the problem with the suggested fix.
http:[url]....Apparently the variable located inside my scroller,
is set before the XML has finished loading so does not calculate the correct mc_height to work with the scroller and show all the thumbs at the bottom... ?
i attach some buttons according to the tutorial from kirupa to a "menu_mc" mc.everything goes well. the buttons do attach.. the text inside them is visible!i make a scroller (also from a tutorial from over here) that scrolls a "contentMain" mc.everything goes well.... it scrolls.when i put the menu_mc inside the contentMain...... the buttons do attach, the scroller works fine... but the text inside my buttons is not visible.
1. can you tell me what's the problem? why don't the texts show?
2. how can I call the "scrolling()" function from inside that contentMain mc ... without using _root ?
this post references the files listed at:i've implemented a dynamic text box that calls a txt file into it. it uses a scroller that i found a tutorial on:i've got everything working splendidly - everything EXCEPT the scrolling bar... as you can see, it scrolls up and down just fine, but doesn't control the text.i've pretty much exhausted my search through the actionscript to locate the problem and i can't find it.
I have a scroller, that is perfect. Except I need it 2 movies deep from the root, i.e. root.movieclip.movieclip2.whereiwantthescroller. When I put it there , it stops working. Can someone look at the attached file and show me what I am doing wrong?
Does anyone know how I can adjust the speed of Cladio's scroll bar so when the arrows are clicked the scroll runs faster? Attached is Claudio's original file if needed. The speed variable has no effect on this? I tried adjusting the interval property of both the (up_btn and down_btn) to a lower number from "18" to "0" Like so...
[Code]...
This seemed to work when previewed in the player but once uploaded for some reason the scroll slowed down again? something to do with the frame rate? movie is set up at 30fps. Also, the content being scrolled is dynamically loaded via XML... Would this have anything to do with the lag?
I'm using the following mxml code for displaying a list of some data. I built a custom renderer which can have variable height. Each time a new data arrives, the scroller should go to the end of the list. I registered to the events which triggers an array change.
It's working fine if the height of items is the same. But if this is not happening, the scroller is going a little bit above the end.
If the height of an item from the middle of the list is bigger, then the last items are not visible.
<s:Scroller width="100%" height="100%" id="scroller" horizontalScrollPolicy="off"> <s:DataGroup id = "lstComments"
I've tried for hours and days to make my vertical text content scroller working in a flash fake 3d environment with rotationX / Y. But because of vector>bitmap conversion when 3d roationing, the scroller fails to works. I know the stratDrag method fails to work in a 3d environment. other than using PV3D or so ? cause I don't know how to work with PV3D, it's just tooooo complicated to get it for me.
I used the 'Preloader and Transition for Dynamic Files' Tutorial from the tutorials section here is a link [URL] and have to say, I learned soooo much from it, and incorporated it into my website [URL]. How to put a percentage preloader for each of the sections when they load. The heavier the .swf file you are loading, the longer it takes, and I've gotten comments about this saying they would like to know how long they have to wait until they see something.
I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart [code]
my problem is that if you go over the menu text above my scroller it controls the scroller. I wan this areas movement to have no effect on the scroller below. is there a way to script my scroller to set it to this?
I would like to use it as a horizontal scroller for an image gallery. Just to clarify a horizontal dragger and a horizontal stage motion for image viewing.
fscommand("allowscale", "false"); bar.useHandCursor = dragger.useHandCursor=false; space = 20;
I can find tons of articles/tutorials on custom scrollers but none of them actually replace the browser scroller. If the browser is made smaller the custom scroller and the browser scroller are there. [URL]...
I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart and there is additonal functionality attached to it to affect it's movement which I'm not too worried about although it would be nice)
Code: // set up content_mc info contentRight = _root.content_mc._x;
I'm using Flash CS4 Pro.In Motion Editor, the way that the blur works, it allows you to blur an object on X and/or Y axis.That means you blur horizontaly or/and verticaly.I would like to make a blur motion at another angle, by example 30 degree.
i have a movie clip that follows my mouse to create a fading line.the thing is that i want that movie clip to change its angle according to the mouse movement.Right now the mocie clip is kind of changing its orientation but it's also gettin cray and is not fluent.heres the code of the part that draws the mouse
private function drawMouseLine(e:MouseEvent):void[code].........
say I have two points: 0,0 & 1,-1If i were to get the angle between these, it should return 45.But the function i have created below returns -45, and If i give it the points 0,0 & 1,1 it returns 45.
ActionScript Code: function point_direction(x1:Number, y1:Number, x2:Number, y2:Number):Number {
I have a carousel built and it works fine, but there is an angle on it that I want to get rid of. When the images move along the carousel, I want them to always stay the same on the X axis. Here is the code, I have tried mangling it in every possible combination, but it is outside my AS3 knowledge on how to get the angle changed.
import mx.utils.Delegate; var numOfItems:Number; var radiusX:Number = 1150; var radiusY:Number = 50; var centerX:Number = Stage.width / 2; var centerY:Number = Stage.height / 6; var speed:Number = 0.002; [Code] .....
how to get angle of mouse its very simple.use this Script (copy and past in your file). A sample file which runs only on CS4 is attached.
//Start............................................. .................................................. ................. // Make a line (o-----------------------) and take its left side as center named 'mcArrow' mcArrow._x = mcArrow._y =200;
I'm at a bit of a coders block, and I'm sure it's quite simple. I tried using the following:Code:((angle-180)%360) + 180But for angles < 180 degrees, it works just fine, but after that it get's a little funny. I know why it's doing that, I'm just looking for a way to fix it.
take that same input text box and rotate it on an angle. preview. my type cursor shows up over it but it won't let me type anything int he box (or it if it typing, it's not showing up... which is half of the point).
I have the xspeed and yspeed of a round ball, xspeed is distance ball moves to the right each frame and yspeed distance ball moves down each frame.I have 3 different gradients of slopes, one is at 15 degrees off the horizontal.How can I calculate the xspeed and yspeed of the ball after a collision with, for instance, the 15 degree slope.