looked at the flashlevel navigation that's in the Best Of Kirupa section... totally dig it.I'm wondering though... is there a way to have it, once you get to the end of the last listing in the XML file, inside flash, to have it loop back to the first one? so that pretty much it'll just keep scrolling?
I've taken Voetsjoeba's Flashlevel Navigation code as well as the infinite menu code and rewritten them to make an all Actionscript drop-down menu driven by xml. The submenus can be of four types: sliding, infinite, slideshow, and static. There are many other properties that the user can set in the xml as well, including the rollOver animation for each menu item.
My problem is that I've got the submenu's to appear and work correctly but I can't get the drop-down functionality to work correctly. In the attachment there are two .fla files. The first one (xmlNav.fla) has all the submenus open and working, while the second (xmlNav2.fla) I've tried to implement the drop-down functionality but it makes the submenus quit working.
i did the tutorial but something is wrong cuz when i created my own little sliding thingy and i put my mouse so it slides left or right on the right side it cuts off a bit when going infinite.I think its something to do with the positioning of my menu because its not on x=0 its on x=120.8 and i was trying to work out how to fix it but i'm stuck...and when i move the menu to x=0 it works nicely.
Shouldn't flash detect these before running the script and crashing and having to force quit and restart (and flash startup takes a while)? Like just give an error: infinite for loop or something? And this happened to me a bunch when working with for loops within for loops, when I accidentally used the same variable for both loops, so of course it never ended and crashed flash.
Yeah, to some extent it's poor design. But the idea I'm going for is that any Event has the potential to compromise of other Events and this idea kinda loops. How to do this?
I want to access a webservice:getMonitorData() , on creationcomplete and returns an array, in an infinite loop so that the getIndex0.text is updated each time.Flex is not able to handle an infinite loop and gives a timeout error 1502. If I run the for loop until i<2000 or so it works fine.How can replace the loop so that my webservice is accessed continiously and the result is shown in getIndex0.text.This is how my application looks like:
I posted on Kirupa Yesterday trying to get help with a project. I've had no response because the help I need is admittedly a pain in the behind. I'm at the end of my thether here so I thought I try posting here also. I'm in the process of trying to make an "infinite scrolling tsunami accordian". Sounds sweet right.
Its supposed to grow as items are moused over along with accordion functionality. also it is supposed to wrap around the items. Ive gotten very close but I have some problems that I've hit a wall on. I've never seen a 3 in one menu like this and it'd be really cool to get it going.
So far I have the tsunami effect and the wrapping around. The only problem is that when you click on an item, instead of the items below it animating to the bottom bound of the menu and then appearing at the top when they go too far theres a big *** pause and then they just jump to wrap around position.
The accordion aspect is there too but I can't figure out how to handle the spacing when an item is expanded. I've attached a zip file containing the project in the hope that somebody might have the time to try and me flesh this out . The class in question is named infiniteTsunamiAccord.
I need to determine if a ray from a point (point and angle or vector) which goes to infinity intersects a line segment (two points), and if so, what direction it crosses (left or right.)I've been searching around on google but haven't had any success implementing the math solutions.I'm trying to do is implement the winding fill rule described here to determine if a path is clockwise or counterclockwise.
The AS in the tut works fine in a stand-alone swf, but if you load it into another swf it wont work properly cuz it uses values like _ymouse<18
Those absolute values are not correct once the swf is loaded into a different sized movie.
What would you guys say is the best way to convert the code so that it would work when loaded?
If thought of changing every value to a target such as _root.MCinMAINmovie.CONTAINERmcFORinfiniteMENU._xm ouse>218 but this seems rather tedious... and it makes it hard to build code for something that needs to be a loaded swf and test it say before you have you main swf built.
i've created av "infinite menu" a menu that moves in a direction depending on the position of the mouse. I need a little help to make it stop whenever the mouse aint over the menu.[code]This is just a beta version so the grapics aren't correct.
I've got a infinite scroller (adjusted one of scotty's) and it's not wrapping around i.e there's a gap in the images, the last image kinda blinks at a certain point.I've attached the files, it's probably something quite simple but i cant see it.Here's the script:
I've got the very old infinite menu posted on Kirupa's site. I haven't done anything but switch it to a vertical menu, but the problem is that I put a button in the menu, the 2nd grey box, with a getURL that just goes to google. Problem is, it won't load the url. I had wanted to put buttons in this menu to get new URLs or do things it flash, but it won't respond.
I have a movie clip named "services_mc" it has 7 frames inside of it. When the movie clip gets to frame 7 I want it to go to frame 6 and play (and repeat this infinite).
I thought all I would have to do is put this in frame 7:
I have an MC that is a giant text box that contains 20 different items laid out vertically, like this for example:
A B C D E etc
I want to make the list infinitely moveable/draggable on its y position, meaning the user can drag this list up and down but the list never ends.....In other words when the user drags to the last item in the list, the list, the list starts over again. And the same works in the reverse; if the user is dragging up and gets to the first item, the last item pops up after and then goes in reverse. In other words no ending. Think The Price Is Right Wheel or the alram clock on the iPhone or iPod touch.
I am creating a space game in AS3. In order to show movement while keeping your space ship in the center of the screen I would like to move the background (in the opposite direction that the space ship is moving). I would like the background to tile so that if you ever reach the end of one background image it will place another one right next to it seamlessly. I have worked out the code to move the tiles to the right place at the right time, however whenever the tile is repositioned due to the ship reaching the edge, there is a brief period of lag.
Alright, this is my problem; i need to find a way to pause and start again from that same position the 'infinite menu' found here on kirupa friend of mine attempted to and gave me some code to fiddle with. I did fiddle with it, but problem was, the code was for Flash MX 2004. So it didnt work on my MX. Here is the existing code i have, but doesn't function (i.e. works fine when control>Test Movie, but doesnt work when actual .swf from folder is opened)
cmdPause.onRelease = function() { if (_root.Paused == true) { text = "pause";
I'm having trouble with a scrolling portfolio type of movie that I've created. It contains a movieclip with thumbnails on it and a left and right button that scroll the thumbnails back and forth. It uses easing to move to each position. It also disables the buttons while the movieclip is scrolling to prevent throwing the movie off alignment. What I'm trying to accomplish is to give the scrolling feature endless scrollability. I have duplicated the slidebar to reposition whichever one necessary to be next in line as the user scrolls through. My code seems to be working but not very well. Sometimes I see one of the slidebars shoot accross the screen to it's correct position, sometimes you have to wait a couple seconds for it to move over. It's acting very quirky. I'll post the .
I'm having trouble with a scrolling portfolio type of movie that I've created. It contains a movieclip with thumbnails on it and a left and right button that scroll the thumbnails back and forth. It uses easing to move to each position. It also disables the buttons while the movieclip is scrolling to prevent throwing the movie off alignment. What I'm trying to accomplish is to give the scrolling feature endless scrollability. I have duplicated the slidebar to reposition whichever one necessary to be next in line as the user scrolls through. My code seems to be working but not very well. Sometimes I see one of the slidebars shoot accross the screen to it's correct position, sometimes you have to wait a couple seconds for it to move over.
The AS in the tut works fine in a stand-alone swf, but if you load it into another swf it wont work properly cuz it uses values like _ymouse<18Those absolute values are not correct once the swf is loaded into a different sized movie.What would you guys say is the best way to convert the code so that it would work when loaded?If thought of changing everyvalue to a target such as _root.MCinMAINmovie.CONTAINERmcFORinfiniteMENU._xm ouse>218but this seems rather tedious... and it makes it hard to build code for something that needs to be a loaded swf and test it say before you have you main swf built.is there a better or easier way to do this?Heres the code for the infinite menu
I am trying to make a infinite menu of thumbnails called dynamically. I need two things: I need the menu to move forward (infinitly and at a constant rate ex: speed = 5) while the user presses and holds the forward button and backwards (infinitly and at a constant rate ex: speed = 5) while the user presses and holds the backwards button. Secondly, I need randomly sized pictures (ex. 640 x 480) to load in there respective box (20 in all, each with a varible P(number)) and be scaled to the size of the box with the pictures proportions intact. Attached is what i've come up with so far and i've used the pic box currently in the middle of the project to experiment with.
I followed the infinite menu tut and it worked perefectly, how ever I'm trying to make a professional looking website and I don't want the scrolling to be obnoxious to the viewer (and I know jack crap about AS).
Is there a way I could get it to either work when the mouse is just on top of the .swf or to get it to work when the mouse is in proximity (within ~100px either way) of the .swf? Also, I'd like for the menu to reset and stay at x=0 y=0 when the it's not active..
I've tried applying Ilyas' infinite menu to the Senocular's XML portfolio. However, the movement looks bad--you can see where the thumbs stop and begin. I was wondering how this could be fixed??
Also, would it be possible that when you click on a thumbnail, a PDF file is launched? How could I do this from the XML file? I'm trying to create a continuous scrolling horizontal menu. The menu would contain pictures of news articles and when you click on the picture, you could read the article in the PDF!
Since each article is pretty long, like news clippings, I don't think having this info in a flash pop-up box would work?
"256 levels of recursion were exceeded in one action list.This is probably an infinite loop.Further execution of actions has been disabled in this movie."Why do I get this error (above) when I use the code (below)? Why isn't this acceptable? [I use function similar to this in Javascript with no problem.][code]
I have an MC that is a giant text box that contains 20different items laid out vertically, like this for example:ABCDEetcI want to make the list infinitely moveable/draggabl on itsy position, meaning the user can drag this list up and down but thelist never ends.....In other words when the user drags to the lastitem in the list, the list, the list starts over again. And thesame works in the reverse; if the user is dragging up and gets tothe first item, the last item pops up after and then goes inreverse. In other words no ending. Think The Price Is Right Wheelor the alram clock on the iPhone or iPod touch.
created an infinitely looping series of photos that scrolls from right to left. The animation was created with 6 photos and was animated using AS 3.Is there substitute coding using AS 2 in place of my AS 3 coding?Or is it more complicated and does it depend on how the photos were set up in my document, how the photos and groups of photos were converted to symbols etc??here is my current AS 3 code that works.
var centerX:Number = stage.stageWidth / 2; var galleryWidth:Number = infiniteGallery.width; var speed:Number = 0; addEventListener(Event.ENTER_FRAME, moveGallery);
I am nearly finished creating the tumbler theme below. The theme uses the infinite scroll plugin and this works fine for posts that don't contain flash (photo, text, ...). Video and audio posts use flash and when the infinite scroll kicks in loading more posts it doesn't load in the flash posts. [URL]