I'd like to have a scrollbar which scrolls movieclips that are created depending on whether there is the information available in an xml file.The image attached shows how the layout should be and the xml will be something like this:
The kind of thing I want to create can be seen here... http:[url]...Click on 'engaging customers' and then you'll see a box to the right.I want to create something like that, but loading in the text from xml.
The scrollbar found here is good but I can't see how to implement the whole adding movieclips dynamically and then resizing the scrollbar etc.. http:[url]...Does this all include: loading in the xml, finding the node, creating a new movieclip, adding the xml information, resizing the scrollbar and then checking to see if there are anymore xml nodes?
ball2 is duplicated every 3 seconds and the gravity code is on the ball2 mc. this code is on frame one of the main timeline.Why when two of the ball2 mc's are on the stage does the hit test not work on one of them?
Code: checkX = function (dx, oldVal, newVal) { if (_root.paddle.hitTest(_root["ball2"+i])) {
I'm trying to make a bit stream across my page when you mouseover a button. The bit stream can be quite long, so I wouldn't think to do it by hand. I'm wondering how I would go about making the stream start out, and how I can get each bit to follow the other right behind it. (They're about 10 pixels wide). I can get the for loop to duplicate the clips, but I can't seem to get them in order.
I am trying to load some thumbnails and I have a few items that seem logical to me, but they do not work. The lines that are commented out do not work for some reason. The width of each thumb is needed so that I can space them out evenly with like 20 pixels between each.Initially photoArray has the path to each jpg, then it is overwritten with the movie clip when they load. If anyone knows why these lines dont work or knows a more efficient manner to load thumbnail jpgs that would be cool.I 've also tried getProperty() with no avail. PEACE - I'M OUT
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've been trying to make a scroller, but the movieclip IS the scroller (if that makes sense?)So I have a movieclip that's, say, 1920 wide, and the stage just resizes to the browser, and when you drag the movieclip it scrolls. I have this semi-working but it's quite buggy on resize, and i also want inertia on the movieclip when it moves.
I'm editing a scoller and have removed a photo from it however as the scroller scrolls a gap slowly appears where the original photo was. I can't seem to stop this happening?
In flex 4 I'm using a PopUpButton with a Menu populated with records from the database.For one of our clients, the data provider of the Menu has more than 50 elements.When they click on the Menu it expands beyond the height of the screen without showing a scroller or responding to the mouse-wheel.So in effect there is no way to access the lower items on the menu.So I need to somehow restrict the height of the menu and add a scroller.The rowCount and maxHeight commands are having no effect.
var companyContextMenu:Menu=new Menu(); companyContextMenu.maxHeight=400; companyContextMenu.rowCount=20;
I'm working on a small project and I'd like the player to be able to explore areas outside of just the 800x600 window, AKA scrolling is necessary.
I'm not working in the Flash IDE, I'm just writing actionscript in FlashDevelop.
Anyway, I'm trying to think of a clean way to scroll the map and all associated objects when the player gets near the edge of the screen.
Here's how my app is currently set up:
I've got my Main object, which is the parent app.
Under that, I have a 'DudeHandler' object, which will contain all the players. At the moment it just contains the player, and another test guy in order to see the effects of scrolling.
Then I have the 'Soldier' object, which is an individual player.
In a perfect world, when the player got near the edge of the screen, I'd just move the DudeHandler object, but I guess my main problem is trying to find out the actual screen coordinates of the player, since the x and y vars point to the position relative within the Dudehandler object, if that makes any sense.
Wondering if anyone knows how to tweak the scroller() method in the mp3 tutorial to work more like a news ticker in that the artist and track continuously move from right to left and repeat itself (like the Zune radio on myspace) instead of moving back and forth
I have a swf size : 1280 X 960. which has some kind of animation.. meaning some kind of block diagram animation that shows the flow.. for example a watercycle or a route map. But ... when I change the settings of the system .. to 800 X 600 then the scroll bars appear. Is there a way to ... move the swf in the scroller using some script or so? coz... all the animations have been made in the size for 1280 X 960 and cant be redone... and these cannot be scaled also (thats the requirement)
Im using this as my base for what I want to make:I've stripped out everything but the scrolling thumbnails at the bottom. Is there a way to: 1. Make the scrolling infinate?. Have two buttons that changes the direction of the scrolling. One that when its clicked makes the menu scroll from left to right and the other button to make it scroll right to left.
[URL]By clicking a button its slide to the picture and then loads the info and by clicking a other button it takes away the info first and then slide to the picture.
I tried to make a scrolling imageslider and when you click them the pane expands and opens the big picture.however the viewer I based it on had the urls for the jpegs hardcoded in the fla, so I thought let's replace that with xml.. (I left the original code in there, disabled with /*-marks and while the xml loads, the whole viewer thing doesn't do nothing.[code]
I got a tiny problem with my scroller. I would like the bar to move up and down but when i test it, the bar shifts to the left and goes way up the way it should and it stops near of the bottom of the scroller bar.Here is my code
tutorial of photo gallery, the problem is that the scroller for the thumbnails doesnt work, i mean it doesnt appear, theres nothing on the screen, i dont know what the problem is, the pictures above appear correctly but the problem is the scroller, i have tried a lot of thing but i cant get it to work, maybe the problem is that i used flash cs3, and the tutorial was made for flash mx 2004
I have been trying to figure out how to create this movieclipI have a bunch of images which is laid out horizontally (x axis). The functionality is very simple, when I click on the movieclip it will allow me to drag it from right to left and vice versa. This part is simple enough. I face a problem when it comes to the end and the beginning of the movieclip. How do I make it undraggable when it reaches the end of the movie clip and vice versa when I drag it back to the beginning.
I need to send up (top of page) with some command from AS3, the Scroller toolbar of the explorer (the toolbar that is to go up and down within a page)[code]...
I'm using the following to reveal scrollers on mouseover, but although one replaces another when I move the cursor over the buttons, when I move the cursor away from all buttons or move to another area on the page, the last scroller I moused over remains visible -- can anyone tell me what I need to change on the following code to make the scroller vanish on mouseout?
on (rollOver) { gotoAndPlay("s1"); _root.scroller.swapDepths(2998);