ActionScript 3.0 :: STRINGY Sliding Gallery Pt 2?

Dec 5, 2006

Originally Posted by stringy ee if this something like you want

Code:
var buttonNames_array=[]
for(var j=1;j<4;j++){
buttonNames_array.push(this["but"+j])
}

[Code]...

I have even tried duplicating all the relevant MC's and updating the code to read lets say:
scroller and scroller2 etc

Does it require some kind of resetting of information to accept new referencing to images? I cant see why it should'nt work

View 14 Replies


Similar Posts:


ActionScript 2.0 :: Modify Stringy's XML Gallery To Show 5 Rows Of 2 Galleries Instead Of 4?

Jun 20, 2007

I need to modify Stringy's XML gallery to show 5 rows of 2 galleries instead of 4. I know how to decrease the number of galleries to 6 because Stringy told me the following:

You can change the size of the boxes by changing these variables (or associated variables)

th = Math.round(sizeh/4-(5*spaceh)/4-30/4);
tw = Math.round((sizew/2)-(3*spacex)/2);
so to make say 3 rows/2 columns you could change to this
th = Math.round(sizeh/3-(4*spaceh)/3-30/3);

[Code]...

View 1 Replies

ActionScript 3.0 :: Sliding Gallery / How To Loop Around

Apr 29, 2009

I'm working on a sliding featured gallery like Kongregate.com or Hulu.com uses on their home pages. What I have so far is here:URL...Where I am running into trouble is in the loop around/wrap around areas. My next and previous buttons tween to the next/previous item just fine. However when I get to the last/first, it gets tricky.What I have done when you get to feature #5 is check for the x position, and if I am going beyond 5, I reset it so that we pull in #1 instead. The problem is that this scrolls in #1 from the wrong direction. (Take a look at the SWF above to see what I mean).If I shoot further back in negative X direction and scroll that way, I'll end up with blank space at the start of the move. I could dupe #5 and put it there, but then I have two versions of feature #5 (and #1 for the wrap the other way) that have to be maintained. (Note these will be more than just a blank square obviously, they will each be movie clips that do things).

Possibly that is the correct way? Or am I going about this the wrong way. Would it make more sense to dynamically create, scroll and remove the clips on each button click? (I'm not sure how I would do that exactlyI suppose I could also add the buttons via actionscript too, instead of placing them in a layer and them zipping them to the top, although I'm not sure it matters much.[code]Also one other thing, I note that if the user clicks one of the buttons before the tween completes, it throws the whole thing off (since it grabs the x value when clicked) - is there a way to disable the buttons until the tween is complete?

View 6 Replies

ActionScript 3.0 :: Horizontal Sliding Gallery?

Apr 13, 2009

I'd like to use a gallery similar to the one atfor a gallery I am creating. I have an idea of how the horizontal motion would work using a timeline but does anyone have an idea of how I could use actionscript to move the movieclip horizontally so that each image is centered or using a tween class?

View 40 Replies

ActionScript 2.0 :: Sliding Gallery/scrollbar?

Nov 18, 2008

Alright, I know how to make a scrollbar but how do I tell "him" to scroll on his own?m using this code:

scrolling = function () {
var scrollHeight:Number = scrollTrack._height;
var contentHeight:Number = contentMain._height;

[code].....

View 1 Replies

ActionScript 2.0 :: Photo Gallery - Thumbs Keep Sliding Right?

Mar 29, 2006

I've downloaded and slightly modified the Photo Gallery with Thumbnails .fla file. It works fine, except when you mouse over the right side, it keeps scrolling until all of the thumbnails are off the screen. Going to the left, it works fine, stopping when you reach the first thumbnail. On the original, it works as it should.

View 1 Replies

ActionScript 2.0 :: Sliding Thumbnails In A Grid XML Gallery?

Mar 16, 2008

Does anyone out there have code for an XML gallery that arranges the sliding thumbs in a grid of many rows and columns instead of a single row?

View 6 Replies

ActionScript 3.0 :: Make A Pushing / Sliding Gallery

Oct 25, 2011

I've got a problem. I have to make gallery like [URL]

View 1 Replies

ActionScript 1/2 :: XML Gallery - Sliding Effect To Display Images

Oct 26, 2009

I have build a gallery but its very simple. It takes images from xml file. I have attached all files in zip. First when I press next button it goes to next image but with no effect. It just displays next image. I want to incorporate a sliding effect when the image is changed to another. And second I want to use autoplay feature. As soon as swf starts the images came one by one with difference of few seconds.
Attachments: slideshow.zip (752.0 K)

View 3 Replies

ActionScript 2.0 :: Sliding Image Gallery On Mouse Movement?

Jan 22, 2010

I am looking for the Action Script that will allow me to set up a horiz. set of images and use the mouse movement to move the band of images left or right. Upon clickin on the image I will have a link to other views.

View 3 Replies

Actionscript 2.0 :: Produce An Image Gallery Exactly Like The Sliding Panels?

Feb 7, 2010

I'm looking to produce an image gallery exactly like the sliding panels here [URL]

The total length of the images are greater than 2880px (Flash's max stage width).

View 3 Replies

ActionScript 2.0 :: Sliding Photo Gallery With Previous And Next Button

Aug 20, 2009

I have a sliding photo galley with a previous and next button. I have added action script to tell the linked pictures to slide along and for the next button its fine (I took the script from a forum...as you do). I put stop commands on the key frames over the next picture, Now if I am on the 4th image and click previous, its goes all the way back to the start!

stop()
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}} next_btn.onPress = function(){
rewind = false;
play();
} prev_btn.onPress = function(){
rewind = true;
}

View 5 Replies

ActionScript 3.0 :: Photo Gallery - Sliding Thumbs Reverse Button?

Aug 13, 2009

I'm trying to make a site with a photogallery that has sliding thumbs in the bottom corner ("slidingOut_mc"). I've got them sliding from right to left with a simple tween that is infinite. The problem is that I have a left arrow and right arrow that I want to slide the thumbs in reverse (left arrow i.e. "back_btn") or at double speed (right arrow i.e. "forward_btn") on a roll over of the button. I used the ENTER_FRAME thing to get the mc to reverse with prevFrame when rolling over the "back_btn" but I can't get it to stop when I roll out.

This is what I have so far...
back_btn.addEventListener(MouseEvent.ROLL_OVER, backF);
function backF(event:MouseEvent):void{
slidingOut_mc.addEventListener(Event.ENTER_FRAME, everyFrame);
function everyFrame(event:Event):void{
slidingOut_mc.prevFrame();
[Code] .....

It tells me the "everyFrame" is an undefined property. I think and hope the problem should be obvious to those who know more than me. Do I need some sort of import at the very start of it all?

View 3 Replies

ActionScript 3.0 :: Sliding Thumbnail Gallery - Loader Content Drag

Jul 28, 2010

I have a sliding thumbnail gallery which when a thumbnail is clicked loads an external .png into a container with an instance name of mycontainer which I have on the stage in the .fla. Its added like such:
When the Loader's (which I gave an instance name of imgLoader) complete event is called the function onLoaded loads it -like this: mycontainer.addChild(imgLoader);

I also added a mask(stageMask2) to mycontainer which is the same size as the external .png--I then used this code imgLoader.mask=stageMask2; to mask the .png. I did this because I added a zoommc function which enlarges the imgLoader and wanted to keep the visible size of the container the same. I would also like to be able to drag the zoomed image. I don't want to drag mycontainer as it contains the mask and I cant drag the imgLoader as it doesn't have that property--Do I need to put the imgLoader in another container?

Here's the problematic code:
var stageMask2:Sprite = new Sprite();
stageMask2.graphics.beginFill(0x183045,0);
stageMask2.graphics.drawRect(swfX,swfY,604,403);
stageMask2.graphics.endFill();
var closeWin:TextField=new TextField();
[Code] .....

View 9 Replies

ActionScript 2.0 :: Make A Sliding Gallery That Plays A Certain Amount Of Frames And Stops

Sep 9, 2009

I want to make a sliding gallery that plays a certain amount of frames and stops. I have this script

[Code]....

Instead of play() i have tried putting a counter in like counter 8 but it does not work.
The idea is that if i click the contact button but im on the home page its scrolls over all
other pages and stops on the home page.

View 1 Replies

ActionScript 1/2 :: Sliding Photo Gallery - Graphic Symbol A Different Size From The Original Template

Mar 16, 2009

I just pulled together a picture gallery, where the pictures simply scroll across the screen using arrows. I used the template from [URL] The problem is that when I added my own pictures, the graphic symbol was obviously a different size from the original template. So when the images scroll they should stop at a certain point as to not show any empty space. I changed the values that i guessed were the ones setting up where the graphic has to stop at, but it doesnt seem to be doing anything. The code below is the only script of any importance, at least that I know of. The other stuff just points to targets and gotoandplay stuff.

View 3 Replies

ActionScript 3.0 :: Sliding Gallery - How To "loop Around"

Apr 29, 2009

I'm working on a sliding featured gallery like [URL] or [URL] uses on their home pages. What I have so far is here: [URL] Where I am running into trouble is in the loop around/wrap around areas. My next and previous buttons tween to the next/previous item just fine. However when I get to the last/first, it gets tricky. What I have done when you get to feature #5 is check for the x position, and if I am going beyond 5, I reset it so that we pull in #1 instead. The problem is that this scrolls in #1 from the wrong direction. (Take a look at the SWF above to see what I mean).

If I shoot further back in negative X direction and scroll that way, I'll end up with blank space at the start of the move. I could dupe #5 and put it there, but then I have two versions of feature #5 (and #1 for the wrap the other way) that have to be maintained. (Note these will be more than just a blank square obviously, they will each be movie clips that do things). Possibly that is the correct way? Or am I going about this the wrong way. Would it make more sense to dynamically create, scroll and remove the clips on each button click? (I'm not sure how I would do that exactly)

[Code]...

View 5 Replies

ActionScript 2.0 :: Photo Galley - Make A Gallery Based On The Tutorial Gallery (thumbs)

Jul 19, 2005

What I want to do is to make a gallery based on the tutorial gallery here (thumbs), but I want the user to be able to choose different galleries from within the movie. I figured that I could make a loop to cycle through the galleries, then nest another loop inside it to cycle through the pics, captions and thumbs. While I wrote, I constantly tested the output with trace commands, but when I tried nesting the loop I lost all output.. I'm pretty new to both Flash and Actionscript, so if theres an obvious solution I havent been able to see it.. This is my temp XML file:

[Code]...

View 2 Replies

ActionScript 3.0 :: Gallery Scaling - When Preview In Browser The Dock Gallery Scales Out Of The Swf Area?

Jan 29, 2012

Im using a dock gallery fx from flash xml components. But for some reason when I preview in browser the dock gallery scales out of the swf area. This doesnt happen if i change the p[ublish setting to match movie. But if the publish setting is set to perscentage gallery scales.

View 3 Replies

IDE :: Make Thumbnail Gallery - First Page Title Gallery Then Big Image With Description

Feb 6, 2009

i was looking for gallery looking like this site [URL] i was looking gallery first page title gallery then Big image like this with description.

View 1 Replies

ActionScript 2.0 :: Photo Gallery XML - Html File Shows The Extra Image In The Gallery But The Swf Doesn't

Feb 17, 2008

i am trying to add extra images to the photo gallery attached. I would have thought it is easy and it seems so. I add an extra image to the gallery. I publish it. The html file shows the extra image in the gallery but the swf doesnt. driving me crazy, cant work it out?

View 14 Replies

Professional :: Convert A JQuery Lightbox Style Gallery Into A Flash XML Based Image Gallery With Categories?

Oct 26, 2010

I've made a gallery slideshow before but wasn't as intuitive looking back at it now and I want to start fresh on this new project. I would like to convert a jQuery lightbox style gallery into a flash XML based AS3 image gallery with categories. I don't want to code the FLA, I want separate AS files.

This is a school project for my website. I would use jQuery and I have more experience with it but this project needs a flash component. I'm just not sure where to start and looking for some advice on how and where I could find resources. I want it to be minimal as I can make it;

- 8 thumbnails to a "page/section" with more flowed into page 2 or 3 etc. (or a srcoller)

- a few buttons for categories

- images fading in full size with a description when hovered over and a close button

- preloader (simple bar)

Esentially something like this > http:[url].........works which is using http:[url].... for the thumbnails. That might be ambitious but I'd suffice with a simple fade effect.I've downloaded some galleries out there but most of the code is messy or outdated.http:[url]... this is alright, but all the code is done in the FLA. I might break it into AS files but it depends.

View 1 Replies

ActionScript 3.0 :: Loads A Gallery Of A External File Called Gallery.swf?

Mar 16, 2009

In my "actions" layer I have a function that loads a gallery of a external file called gallery.swf. The swf loads successfully but I cant remove that. The only way to remove is to call removeChild(mLoader.content); I noticed that the movies loads without addChild.

But sometimes also calling removeChild(mLoader.content) the content of mLoader is not removed and still appears in the stage.

[Code]...

View 5 Replies

ActionScript 2.0 :: XML Photo Gallery Change To Video Gallery?

Jan 24, 2010

I have a flash site that I'm working with that has an xml photo gallery as one of it's menu items. the photo gallery has three pages, all three containing thumbnail images that once clicked, load the larger image. The larger image dissolves in covering the page with the image. Once you click the larger image it dissolves out returning you to the gallery.

What I want to to do is to change the first page of this gallery to a video gallery, or player, leaving the other two galleries as image galleries. I tried simply replacing the images listed in the xml document to flv files and the flv file does not load. I simply want to know what it is I need to do in order to change this one page so that I can embed videos on it.

I've attached the Action script that loads the xml gallery in .txt format

View 6 Replies

ActionScript 2.0 :: XML For Gallery From Tutorial 'photo Gallery Using XML And Flash'?

Jan 15, 2010

i am trying to put some things together following the tutorials on this site. I did the tutorial 'Photo Gallery Using XML and Flash'and I followed it step by step and uploaded it with all the necessary files onto my remote server (xml file, Gallery folder, fla, swf, and html) - however, when I test the movie with flash, it seems to work fine (except the description test, my question to that later), but when I test it online it shows only the first image (but displays the correct number of images in the gallery); even when clicking the next button, it keeps loading the first image the first image. In other galleries (I use the structure for multiple galleries for my portfolio) the first image never loads at all.

Also, about the description text, in between the <caption> and </caption>, can I use <strong> and <em> and <br /> to change the appearance of my text? All it says is 'null'.If you want to look at what I mean check out my portfolio in the making. The problem with the first image displaying only is under 'paintings' and both the projects in 'design - packaging'. The second problem (no picture loading at all) is on some of the buttons in 'design - identity' (where I have not changed the description text of the tutorial yet).
Again,

View 3 Replies

ActionScript 2.0 :: Move MC Without Sliding?

May 23, 2010

How can I move MC object without using tween. I don't want that it slides.

View 4 Replies

IDE :: Horizontal Sliding Menu?

Sep 11, 2009

I used the tutorial on this site for the horizontal sliding menu and would like to modify it to work like the one found here [url]....

View 1 Replies

ActionScript 2.0 :: Sliding Navigation Bar?

Oct 18, 2005

tool which takes the form of a sliding bar.(top left of page)What I'd like is to have it so that as the bar slides up and down the image to the left of it changes. Then when you release the button the corresponding page loads.hat the code would look like for this sort of effect?I'm not sure where to start, or if maybe I'm over complicating it and I should just go with a row of buttons or something?

View 2 Replies

ActionScript 2.0 :: Add A _y Value To The Sliding Menu?

Jul 29, 2006

I want to add a _y value to the sliding menu tutorial, [URL]

View 6 Replies

AS2 :: IDE - Left / Right Sliding Thumbnails (CS3)

Feb 3, 2009

Stuck trying to get a pretty simple thumbnail gallery to work: Basically it's just a movieclip of horizontal thumbnails (50 in total, masked so only 10 are shown at a time) with a left and right arrow on the sides, which when clicked should make the thumbs smoothly shift left or right to display the next or previous 10 thumbs (fixed at 1-10, 11-20, 21-30, 31-40, 41-50). They should smoothly ease into place, and the left and right buttons should disable when you reach the left or right limit Is there a simple way of doing this?

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved