ActionScript 1/2 :: Scrolling Image Gallery In Flash Webpage?
May 7, 2010
I am attempting to create a basic Flash website to promote myself online. To do this I require a scrolling gallery of images on one of my pages.I have found and implemented a tutorial online allowing me to have a scrolling gallery, but what I need to do is include it within the rest of the pages I have created. I don't know how the code I have used for the scrolling gallery works, to allow me to use it, inside the root level page.The script says:
_root.onEnterFrame = function()
{ if (_root._yMouse<594)
{[code]....
What I need to do, is put the scrolling gallery feature 1 level INSIDE the site, instead of on its "root". When saving the scrolling gallery feature as a movie clip, I coped the frame it was on and pasted that on the "images" page, within the navigation bar movie clip where the other page contents reside. ie Contact, Animations, Intro, etc.When doing this, the gallery is present on the page once the "images" tab is clicked on the navigation, but only the scrolling thumbnails are present on screen, and not the blown-up main image each of the thumbnails refers to, so when clicked on, no main image appears.But when placed on the "root" or outer-most layer of the site, the gallery works fine.I really need to know how to include this scrolling gallery feature WITHIN the navigation bar with the other pages, how can I do this? What actionscript could I use as a replacement to the "_root", to make the gallery function correctly?
View 2 Replies
Similar Posts:
Nov 1, 2006
i want each image that opens up from the scrolling thumbnails below to have another set buttons relating to the main image. for instance:
[Code]...
numbers = buttons linked to another set of external images that are related to the big image. the problem is i don't know what controls the thumbnail/main image when i click on the scroller (i'm kinda lost in the code). so right now i have only one set of numbers regardless of which big image opens up.
View 14 Replies
Jul 1, 2008
This is a repost, but I've still not figured out a solution. I have a Flash movie that appears on a webpage. The Flash contains scrolling content ( scrollpane, text field, whatever).
The containing webpage is tall, and therefore also has scrollbars. My Problem: When users try to use the MouseWheel to scroll through my Flash scrolling data, the browser page scrolls as well. It's very annoying.
I would like to be able to have the MouseWheel scroll my Flash scrolling content when it's over the flash, but scroll the webpage when it's not over the Flash.
Does anybody know a way to supress wheel-based browser page-scrolling while my mouse is over a Flash movie??? Is there a way to eat/stop propagation, whatever, of the wheel event in the brwoser, either from Flash or from Javascript?
View 7 Replies
Nov 11, 2009
I've seen this done on many sites (it even happens on here when attaching links), where the screen darkens and an image gallery or form loads.
My question is, can this be done through Flash, but more importantly how to load a swf file this way. I noticed that the new Nike Running site has done it for their login functionality, where it loads the login box on a darkend screen, not sure whether the actual login is Flash but it's opened from within Flash.
[URL]
View 1 Replies
Oct 23, 2009
So I've found many people trying to do this[URL].. but with actionscript 3.0 and not 2.0.
I'm not a coder by any means, but I've kinda translated most of it except for the scrolling part.
This is what I have so far:
[Code]...
as you can see, some of it is hidden as I was afraid to delete things I might end up needing later. The position of the gallery is at an exact place, and the xml file is perfect. The only problem I'm having is with the scrolling part. I keep getting an error in the function scrolling code that says that a property of mask_mc is being called wrong. I also have learned that the createEmptyMovieClip is not as3 but as2, and that that is also wrong. I'm just trying to get the scroller to work.
View 2 Replies
Dec 3, 2010
I have created an image thumbnails MovieClip, that has bunch of thumbnails in it.Problem is that there is no scrolling in it. I cant specify any width or height of the movie clip to limit it.I think I have to use Mask, but not sure how or even if it is the right approach.All I need to do is for the thumbnail_container to scroll if the number of images are more then stage can show.
View 0 Replies
Nov 18, 2009
I've worked with the following code to produce a vertical scrolling gallery and it works fine. But I've tried adapting it to scroll horizontally and it just wont do it - I'm obviously missing something but I've tried every permutation I can think of.
[Code]....
View 2 Replies
May 25, 2011
I have this project. It is an image gallery with scrolling thumbnails that when you click them will load the larger images. However, I can not get that part to work. The thumbnails load and scroll, but when I click them I get an error message.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at BannerVer3_fla:mcThumbsInside_6/imageLoadedThumbThree/BannerVer3_fla:gotoPage()[BannerVer3_fla.mcThumbsInside_6::frame1:124]
This is the AS3 for the thumbnail image.
Code:
var fader:MovieClip;
var photos:MovieClip;
var loaderThumbThree:Loader;
function loadImageThumbThree(url:String):void{
//Set properties for this loader
loaderThumbThree = new Loader();
[Code] .....
View 1 Replies
Apr 9, 2007
When page is loaded I can scroll it with mouse, But when I load first external movie clip the mouse scrolling function disappears. Is there anything I can do? I have search in flash mx 2004, and tryed to use // Mouse.onMouseWheel but nothing
View 14 Replies
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
Feb 19, 2010
[URl].. but I want the mouse move up and down as well instead of being just right to left.
I believe it has something to do with "Z" as well az "X" and "Y"
To be more specific I want to be able to build something like this[URL]..when it comes to navigation,simply to be able to move the screen according to viewer's mouse, up, down, right and left
[Code]...
View 5 Replies
Apr 6, 2011
I'm trying to display an image exported from a flash BitmapData in a basic webpage.[code]the above code does NOT work, I can't find a way to display the image embedded in the webpage.
View 2 Replies
Sep 1, 2009
Just trying to make a flash photo gallery that displays all the image files in a certain directory with the usual photo gallery functionality.
View 1 Replies
Nov 17, 2009
That said, I would like to alter some of the code to allow the thumbnail scrollbar to begin scrolling once the page has loaded. Here is what the code looks like as it is right now.
[Code]....
View 1 Replies
May 22, 2009
Just wondering if anyone knows about the project I am trying to start, uploading images from flash using php is fine but wondering if anyone knows how to create dynamic xml from php and it takes all the image names from the same folder where those images have been uploaded. So we can load all the images in image gallery through xml into flash.
View 5 Replies
Oct 21, 2009
Basically what I've got is a XML loaded gallery as a background for a web page. Now the problem I can't seem to work out is, I want to be able to define which pictures in the gallery show up in different sections of the website. For example -
homepage - images 1.jpg, 2.jpg and 3.jpg are accessible.
About Us - images 4.jpg, 5.jpg and 6.jpg are accessible.
and so on.
Similar to what happens on [URL] but without the gallery popping up. It's relay bugging me now.
View 6 Replies
Aug 10, 2010
I don't do much flash but can sort of get myself around. I'm having issues with a classic tween in CS4. I have a jpeg of magazine covers inside an MC that repeats a scrolling left movement. The client has commented that it comes across a little jerky and isn't smooth enough.
View 2 Replies
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
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
Mar 2, 2011
I am creating an image gallery and the images change but change right back to the original image. I had it working yesterday but today it doesn't work.
[Code]...
View 1 Replies
Nov 6, 2009
I want to incorporate a Horizontal thumbnail Scrolling Gallery to showcase the Special Menus of the concerned hotel. and on click of each image there should be a small popup to display other information of the menu. All this should be XML driven.
View 1 Replies
Feb 18, 2009
I'm developing my portfolio and want to add a horizontal scrolling dynamic gallery (see files). In order to achieve this I combined Lee Brimelow's tutorial on a horizontal scrolling gallery with a tutorial onhow to load images dynamically into a gallery. So far so good... It all seems to work except for the fact that the gallery has to detect the number of images in the scroller and adjust it's width accordingly (which it doesn't do yet). Also it has to make sure it doesn't scroll out of the containing MC (you'll see what I mean when you open the files; it also doesn't do that just yet).
View 1 Replies
Feb 2, 2009
i have a gallery wich is load dinamically by xml with a php backend.
The problem is that i need to make this gallery with a continuous scroll.
here is the code of the AS
some of the vars are in spanish (because im from argentina )
Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
var GaleriaXML = new XML();
[Code].....
View 1 Replies
Feb 4, 2009
What I'm trying to do is build a Dynamic XML scrolling gallery, but it's not going to be a gallery, more like scrolling images with links, that when you click on an image, it will take you to the url designated for each image in the XML.I have no experience working with AS3, so far what I've got are things I'm learning trying to build this.The issue:The issue is that when I run the script, the url designated to all the created movie clips have the same url. For example it will use first "link" on the XML on all 4 movie clips (so all the movie clips would be linked to , or it will use the last "link" in the XML for all movie clips (so all the movie clips would be linked to . How may I fix the issue above?
PHP Code:
<?xml version='1.0' encoding='ISO-8859-1'?>
<chapter_list>
[code].....
View 12 Replies
Mar 11, 2009
The end product should look like: Scrolling thumbnails along the bottom (or side) of the page, scrolls controlled by users mouse.If the user clicks on a thumbnail a larger version of the image loads above or to the side.So far:I have the scrolling images doing as I want! The thumbnails are all buttons.
The problem:I can't get the larger image to load. I have tried creating a movie clip with the larger image in and attaching an Attach Movie script to the button - but it doesn't work.Using Flash MX 2004 and I am not fluent in Action Script - so far I use tutorials and try to alter script to fit what I am after.
View 3 Replies
Nov 25, 2009
I am trying to make a photo gallery with a scrolling menu at the bottom. I have made both a photo gallery and a scrolling menu with tutorials but I can't figure out how to combine them so that they work. I've tried for quite a while now and I think that the problem comes from the scrolling menu which requires that I put all of the symbols I'm using into one symbol called panel. Is there any way to combine the code without completely rewriting it?
Here is the code for the photo gallery:
PHP Code:
this.onLoad=function(){
loadMovie("image1.jpg", images_mc);
[code]....
View 2 Replies
Oct 15, 2010
i'm currently re-using a code snippet of xml gallery with scrolling thumbs, but i got a problem : my mask is stagewidth and my pictures holder depend of thumbs numbers, sometimes after resizing windows browser, while scrolling to the browser sides limit i cannot see the end of the last pic or the start of the first pic
[Code].....
View 7 Replies
Aug 14, 2009
I've created a scrolling thumbnail gallery that draws images from a blog feed. I would like for it to loop itself after all the thumbs have gone through so the first image of the 2nd loop is immediately after the last image of the 1st loop.
View 6 Replies
Jan 18, 2010
I am making an xml driven gallery, with scrolling thumbnails that sit along side of the main image, in a column. These thumbnails scroll depending on the mouses Y position over the column that they sit in. If the mouses position is below the halfway point of the column, the thumbs scroll down, and then if you go above the halfway point the begin to scroll upwards they scroll up until you reach the top image, and it stops...
However, my problem is that when the thumbs have scrolled to the bottom image in the column, unlike when it reaches the top, the scrolling function doesnt stop, it just keeps going until the thumbs have completely scrolled out of shot. What I would like to do is make sure that, the scrolling function stops when it reaches the bottom image; the same as how it stops when it reaches the top...
So if the bottom image rises above the bottom of the column that holds the thumbnails, the thumbs stop scrolling, and will only be able to scroll upwards. Here is the code for the scrolling function that I have:
ActionScript Code:
thumbContainer.addEventListener(Event.ENTER_FRAME, scrollThumbs);
private function scrollThumbs(e:Event):void {
if (thumbContainerMask.hitTestPoint(stage.mouseX, stage.mouseY, false)) {
[Code] .....
View 0 Replies
May 2, 2010
url...Once it's loaded click the screen and at the bottom left go to portfolios. Click on one of them and you'll see a slow continuous side scrolling gallery. I've got everything working apart from when I mouse off it continues at the speed at which I left it. I would like it to slow to a default speed and continue scrolling as in the example I've given.It's been a while since I dabbled with Flash and especially action script! url...
View 6 Replies