ActionScript 2.0 :: Scroller With Loading?
Oct 14, 2006[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.
View 1 Replies[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.
View 1 RepliesI would like to position relatively a scroller in my application like below.When I scale the image, I resize the scroller...
<s:Scroller width="50%" height="50%" >
<s:Group>
<mx:Image
[code].....
I am have a button on my main.fla that loads an image scroller that is conected to an XML file.I can post the code for the button, or the code from the swf i'm trying to load.I am getting this error message:
loading xml from: Mixed-Media-Thumbs.xmlError #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file:
/Mixed-Media-Thumbs.xml at mixed_media_fla::MainTimeline/frame1()
On a few rather cliche'd flash sites, the loading process is preceded by a scrolling bar in which the percentage of loaded bytes or frames is shown. instead of making a new % scroller for every file/movie I make (and want to display separately), could I make a scroller as it's own movie and simply import it from a library? (Dumb question, I know, but I'm the kinda guy who'd prefer Perl over PHP.)
View 1 Replieson (release) {
scrollbar.visible = true
loadVarsText = new loadVars();
loadVarsText.load("News.txt");
[code]....
Using that Code i load a .txt file and the scroller works but only about 1/4 of the whole .txt file...
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]
View 3 Repliesmy 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?
View 1 Replieshave a cool vertical scroller that I did try to convert to horizontal, but I could not make it work.
//code by Billy T
//set a variable
targY=0;
//set the x position of the dragger
dragger._x = 370;
[code]....
change vertical scroller to horizontal scroller?
View 2 RepliesI 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;
[code]....
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]...
View 1 RepliesI 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;
[code].....
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.
View 9 RepliesI'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?
View 1 RepliesIn 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
[Code]....
I'm messing around with a text box scroller. I want to be able to click on the scroller bar and drag it up and down accordingly.
Here is the code I am using:
on (press) {
startDrag ("_root.scroller", false, 578, 35, 578, 163);
} on (release) {
stopDrag ();
}
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)
View 1 RepliesI'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:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<myentry>[code]...
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?
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.
View 1 RepliesI 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]
View 2 RepliesI 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
Code:
on(press){
startDrag("_root.scrollbox.bar" , true, 267.5, -163.0, 267.5, 90);
[code].....
I've got a horizontal gallery scroller that works great.The scroll bar snaps the animation to the closest image. You can view an example here:
[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
View 1 Repliesam after an image gallery with scroller that displays thumbnails only.
I'd also like to have lightbox used in this as well instead of displaying the larger image in a window.
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.
View 6 RepliesAnyone know of any newbie (AKA well-explained) tuts on custom scroll box with custom scroller?
View 1 RepliesI 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]...
View 1 RepliesI'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);
[Code].....