Create An Autoscroll On A Bunch Of Thumbnails?
Sep 7, 2009How creating an autoscroll on a bunch of thumbnails. It should scroll fluidly on mouseposition.
View 3 RepliesHow creating an autoscroll on a bunch of thumbnails. It should scroll fluidly on mouseposition.
View 3 RepliesI am trying to create a bunch of buttons (actually movieclips) with code and have them have their own unique onPress event.
View 1 RepliesI've had the nagging thought of eventListeners vs container looping. For example, you could create a bunch of objects and store them in an array; make a loop that traverses the array and tells each object to execute a method. In contrast I could tie an eventListener to the object in it's constructor function that tells it to perform a task every frame.
View 6 RepliesOk, this should be a simple problem but I am clueless. I have a textbox called msg_ui and some code that places text in it every so often. When new text is placed I just want the textbox to scroll down so I can see it.
[Code]...
i literally scoweredthe net for a week or 2 and still i cant make it..
ok heres the thing..i am making a program that will receive a TEXT MESSAGES. When the program received new message, the message will be display in flash and scroll the message up and IT WILL ONLY scroll up again if there is a NEW message received. by the way, I load my text suing text file Loadvars.
This is question is a take off of my post in the Flash MX forum regarding creating thumbnails. I'm trying to create thumbnails for a pic gallery and would like to have an over-button state that will make my little thumbnail increase in size a little to indicate that this is the picture the viewer is going to view. I don't know how to go about making this button and I'm trying to figure out if there is a way through action script to do this. This way I don't have to make the over state a movie and increase the size manually...
View 5 RepliesI have a VBox who dynamically adds and removes children programatically. The height is set to 100% and verticalScrollPolicy=auto.When a user wants to add another child to that Vbox, I want it to autoscroll to the bottom of the VBox since that is where the child is added.
I've tried every solution I could find online, but no matter what, the verticalScrollPosition and maxVerticalScrollPosition are both ALWAYS equal to 0. Even if I manually scroll to the bottom of the VBox and press a button that alerts these numbers.(Even after 'validateNow()' as well).
The only time I can get these numbers to change programmaticaly is when the VBox height is set in pixels, which I don't want since the children all have varying heights.Plllease tell me that it's possible to set verticalScrollPosition without hard coding the height in pixels? Am I missing something totally obvious here?
Here is the code for Dynamic Autoscroll Flash Gallery.In all images are loaded dynamicaly from xml.In this all the images should of same size.The Movie clip in the stage should be of image size.
View 3 RepliesI need to create a rather detailed menu system that will load thumbnails of movie clips that I can then double-click on and it will load them into the display list of another movie clip.
I think I can code the loading part but I've never dealt with creating flash menus before and don't have any help in the 5 as3 books I own.
Is there a way I can make the menu generate the thumbs from an external file that I can just update when I need to instead of editing the flash file?
is there a way to create dynamic thumbnails taken from a streaming video?
View 9 RepliesI found the tutorial on how to create a photo album with thumbnails using XML. However the only thing that i shows me is to create it with a scroller. I made some modifications to thinking I was going to be able to turn it into a grid but everything that I have tried is not working.[code]
View 5 RepliesI want to create a 1px stroke around the thumbnails in flash with actionscript. after browsing a gallery , is it possible to hide the "next" button? The same in the begining, is it possible to hide the "previous" button on photo 1/10?
View 1 RepliesMy Flex datagrid automatically scrolls to the top when I update the dataProvider (ArrayCollection). I do not want this to happen, but I still want all of the objects to update. I am developing a semi-real time dashboard for a customer's management system, that will update often. If it scrolls to the top every time it updates, it will be very difficult and frustrating to use.I've attempted to use the following techniques to prevent this, none have worked.
dataProvider = updatedDataProvider;
dataProvider.updateItem(dataProvider);
dataProvider.source = updatedDataProvider.source;
dataProvider.updateItem(dataProvider);
I've attempted to dispatch a mouse event to hold the vertical scrollbar in place, I've attempted to lock the vertical scrollbar position value in place (saving and reassigning)..
Kind of like this but instead of scrolling to mouse move, the user would have to click the arrows. And it would be vertical instead of horizontal: [URL]
View 1 RepliesI'm trying to create the simple photo gallery with thumbnails which is in the tutorial Adding Thumbnails, but I'm having a bit of a problem. I've just done the Photo Gallery Using XML and Flash tutorial [URL] which worked perfectly . I've then gone on to the Adding Thumbnails tutorial, [URL] which follows on.I've been working my way throught the tutorial, but when I get to point ix. on page three, I don't get the thumbnails loading at all. I have checked, and double checked the code I have, and I've copied the code from the tutorial assuming that this is right, but nothing appears to work.I'm using Flash MX, not MX 2004.
View 1 Repliesis there a way so that you can make exturnal text automaticly scroll all the way down to the bottom?
http:[url]....
heres what I mean in example....and is there a way to hit the enter button to send a sumbit function?
I'm working on a flash module that basically needs to offer the ability for the user to scroll through a series of thumbnails in a carousel format. I currently have the following code which is creating my thumbails horizontally which is all working fine. [code]...
View 1 RepliesI'm trying to create an image gallery by toggling between different sets of thumbnails and thus loading the appropriate images.I've set up the first 9 okay and they all load at first but when I toggle back and forth in the toggleThumbnails function using addChild I can no longer load these same movieclips.I'm loading the same movieclip with their associated instance names? How come it no longer interacts with the thumbnails?
ActionScript Code:
import flash.events.MouseEvent;
var thumbnailSet = "setOne";[code].....
I'm trying to create a simple slide gallery with one main canvas + thumbnails.Usually the main canvas has auto slide feature.Users can choose the picture on main canvas from thumbnails.When the mouse is over thumbnails I want Canvas to stop auto slide show until that mouse is outside of thumbnails.So I start creating this, and I finish coding for auto slide show and choosing picture from thumbnails. Now I need to code if the mouse is on the thumbnail then temporary stop auto slide show.I thought the right way is to write the code like this,[code]but when I do this, the timer won't stop.
View 2 RepliesHaven't been here for a while and I'm really rusty using Flash. I looking for a tutorial or some information on how to scroll thumbnails by scrolling the mouse left or right over the thumbnails.
View 3 RepliesI used the tutorial "Adding Thumbnails" to build a fotoshow. Adding another xml-file I have the problem,that I cannot reload(?) the thumbnails correctly.[code]Then I do not see any thumbnails,if(!) the new thumbnail list contains fewer elements than the old one and if the old thumbnail list was scrolled over the hit_right field before.It is seemingly necessary to reset the internal state of the movieclip. But how can I accompish that?
View 1 RepliesI've got a website with three links to three different thumbnail galleries. When I click the link to a gallery that has a lesser number of thumbnails, it fills the difference in numbers in with thumbnails from the previous gallery.
View 1 RepliesI need to take a bunch of movieclips from the stage and dynamically store them all together in a separate swf on my computer. Is that possible? how do i do it??
View 2 RepliesSo what im planning to do is load a whole bunch of images at once. Flash doesnt know how many images it will load though, so this is what im thinking..
PHP Code:
var l:Loader = new Loader();
var urlreq:URLRequest = new URLRequest("[URL]" + i + ".jpg");
l.load(urlreq);
if (AN ERROR HAPPENS meaning the url is invalid){
//Stop and continue with operations
} else {
//Do stuff with the loader and image
}
How would I check to see if the loader has an invalid url?
How would I sort a bunch of XML nodes? I don't necessarily need to change the existing structure, but I do need to iterate through in a specific order. In AS2 I would use the childNodes array and use Array.sort.
View 2 RepliesI have a bunch of objects that are dragable. You click and hold the mouse button to drag them around, then release the mouse button to put them back down. The problem is that when an object is dragged so that another object is between it and the mouse cursor, and the mouse button is released, the object gets stuck to the cursor. Clicking and releasing the mouse button is the only way to drop the object. Is there any way to fix this? Or, better yet, is there a way to make it so an object is immediatelly moved in front of every other object when it's clicked on?
View 3 Repliesif(bookmark == "Q3") movieHolder.loadMovie("Q_3.swf");}else if if(bookmark == "Q4"){
movieHolder.loadMovie("Q_4.swf");
}else if if(bookmark == "Q5"){
[code].....
i cant seem to get a bunch of different buttons to work at once.this is a pretty complicated movie but the buttons are all simple.heres what i need.a next and previous frame button at the bottom
3 play button links that need to show a movie. (i was thinking of just using gotoandstop and having three frames at the end of the timeline for these movies, but if theres a way to just have the flv start playing ontop of the current frame on release that would be better.and the last thing is just some links to external urls from buttons made of ads and what not within the magazine.now i know how to make all these work by themselves but when i add the code for all these nothing works.i'll attach the .fla as well as an .swf.
I'm tasked with creating a site that runs full-screen video in the background at all time. I have it set up in XML in "batches" of 10-second clips that correspond to navigation sections. Currently the video just selects a random clip out of that batch once the current video has stopped playing, so it gets a random chain of videos.Of course, when it gets onto the crappy server, my framerate plummets (first disappointment) and i get a little pause in between clips (second disappointment). What I'd like to do is start loading the videos once you get to the site and hope that they're cached by the time they come up. My first thought is to put those batches into shuffled arrays rather than pulling them randomly at load, so I can at least have a predictable order.
View 4 RepliesI need to be able to click and drag multiple objects at the same time I can make it drag 2 objects but when I add another one it doesn't work?
View 2 Replies