IDE :: Movies Load On Top Of The Thumbnails Movieclip - Showing Overlap
Mar 31, 2009
I have several mcs that load with the following command:
[Code]....
Base mc is my empty container movieclip. Basically I have a gallery with thumbnails that load a movie with the appropriate gallery content. The issue is, these movies load on top of the thumbnails movieclip, showing overlap. I could just cover the overlap but I can still click on the buttons in the background. How can I make it so the new movies are higher level or depth than the base movie clip?
View 5 Replies
Similar Posts:
May 15, 2007
There are probably a dozen threads on this subject on this forum and for some reason nobody ever comes up with a solution. I propose once and for all we solve it. Considering it all stems from a tutorial on this site you'd think somebody here could do it. The Problem Sometimes, but not always, when loading thumbnails they become jumbled or overlap one another. Here are some example photos of what we mean when we say this: Working Not Working As you can see, in the second scrolling thumbnail bar, they're overlapping, or jumbled/stacked on top of each other.
Reproducible This seems occur when switching from one gallery's thumbnails to another. For example, clicking on Gallery1 and then quickly clicking on Gallery2 before Gallery1 has finished loading will cause this to happen -- most of the time. If not, clicking back and forth between the galleries will eventually make it occur. It is reproducible, but not 100% of the time. I believe this has something to do with the position in the loading loop, but I'm not sure. The Code Here is the code in question:
[Code]...
View 7 Replies
May 2, 2009
I'd like to dynamically load thumbnails into a horizontal movieclip at the bottom of an image gallery to then allow me to load an image by clicking the thumbnails. I found a tutorial tooad the thumbnails to the stage but I am not sure how to load them into the thumbs movieclip. Here is the code I am using:
var imageLoader:Loader;var xml:XML;var xmlList:XMLList;var xmlLoader:URLLoader = new URLLoader();xmlLoader.load(new URLRequest("xml/murals.xml"));
xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
View 18 Replies
Feb 2, 2009
Code:
var RootNode:XMLNode;
var contentXML:XML = new XML ();
contentXML.ignoreWhite = true;
contentXML.onLoad = processXML;
contentXML.load("about.xml");
function processXML(success:Boolean):Void {
[Code] .....
When I test the above my XML loads properly into the holding MC. My problem is that it is also showing all of the XML tags.
View 1 Replies
Jun 16, 2009
I've finally finished my flash xml gallery, and have tested it to my complete satisfaction using dreamweaver. When I do a preview from dreamweaver, or just open up the gallery html file from explorer the swf loads the xml file and all the images flawlessly, everything works. However when I move the site for testing on my mac laptop it loads the xml file but not the images. When I upload it to my test website it doesn't even load the xml file. I just copied the root folder over in all cases I dont understand why it wont work. You can see it here: [URL]
Could this be some export setting I am using incorrectly? Why would it work locally on a windows machine, and not locally on a mac or online on either. I tried re exporting the swf after saving it as CS3 from CS4 and changing the local playback security to only allow network. So now it loads the xml data online but not locally. Thumbnails still aren't showing up online though.
View 1 Replies
Aug 22, 2009
I am working on a flash file that imports xml data. This data gets run through a for loop and each xml child gets its own movieclip called menuItem. Then the various instances of menuItem are randomly placed on the stage. However, they always overlap to some extent. I don't want this.
So, how would I make sure they don't overlap? I looked at the hitTest function but it seems to require 2 different movieclips to check for the collision. I only have one movieclip with multiple instances.
View 10 Replies
Jun 1, 2010
i am using a movieclip who has two nested movieclips, the problem i am dealing is that when i try to get the width or height of the parent movieclip it always showing the values of the small nested movieclip, when i draw the movieclip it draw perfect but when i read this values shows that error, what can i do?
View 2 Replies
Jun 29, 2009
I'm creating a gallery and having a problem loading thumbnails into different MovieClips. I have all the MCs stored into an Array. I could load them if I wanted to type out:
var thumbLoader1:Loader = new Loader();
movieClipName1.addChild(thumbLoader1);
but I would think there's a more dynamic way. Right now Im stuck at:
[Code].....
I tried switcing the var "image" with a name from the "imageThumbNames" array but that would've been too easy.
View 3 Replies
Oct 10, 2007
I am trying to load some thumbnails into a ScrollPane via XML. I have all the thumbnails loaded but like so many other people they just sit on the top of the ScrollPane in the top left corner of the Stage.
Code:
var thumb_spacingY = 140;
var thumb_spacingX = 40;
menuXml = new XML();
[Code].....
View 9 Replies
Aug 3, 2010
I know I've seen a tutorial for this before, but I just cant seem to find it. I have many thumbnails being placed into a container and I would like each thumbnail to fade in as it is placed. Should I be using an Event.COMPLETE listener and then tween the alpha of currentTarget or something?I assume the code would go in/around here:
function thumbLoaded(e:Event):void{
var my_thumb:Loader = Loader(e.target.loader);
container_mc.addChild(my_thumb);
[code].....
View 2 Replies
Mar 30, 2004
Ideally I would like to do the following:
1.Load thumbnails from an XML file.
2.On click load the actual image which again is generated via XML file.
Now in the past I have used XML for a menu system, but I'm finding it hard to come up with this by myself from scratch.
I can't seem to break the concept of how I would set this up.
View 3 Replies
May 26, 2011
I'm new in AS3 and i'm having some problems. I'm trying to put thumbnails that are load by xml inside a ScrollPanel.
What happened is that the ScrollPanel didn't have a scrollBar and didnt scroll. I thought that if i put each thumbnail inside a MovieClip and set the height maybe would do the trick. But things got worse because i couldn't be able to put the thumb's inside de MC's. Just put them in front
[Code]...
View 0 Replies
Mar 30, 2004
1.Load thumbnails from an XML file.
2.On click load the actual image which again is generated via XML file.
Now in the past I have used XML for a menu system, but I'm finding it hard to come up with this by myself from scratch. I can't seem to break the concept of how I would set this up. If anyone can lead me in the right direction with a link or example etc,
View 3 Replies
Mar 15, 2007
I'm building an XML based gallery, and I used the kirupa tutorials for that (both of them).but I wanted a grid look for the thumbnails and I found this great post by ikim just for that:So I managed to suit the code to my gallery and everything is going good.but there is one problem:when I press the button that loads the XML (WITH THE THUMBS), they load like they supposed to:but when I press again on the button, they load like this:and stays like this.. Why is that?here is the complete code I use to load the images and thumbnails:
Code:
function loadXML(loaded) {
if (loaded) {
[code].....
View 2 Replies
Jun 4, 2007
url....and they are using some kinda loading bar to load thumbnails of images, actually i saw that i many site, and i am bit curious about it.could any one help me out to code this loading bar?
View 3 Replies
Jul 29, 2007
I'm using Flash MX 2004 and actionscript 2.0 and have been working with the xml and adding thumbnails to the photo gallery tutorial in Kirupa. What I'd like to do is only show the thumnails onRollOver and then have them go to open a new page outside of the flash site onRelease. So far I found one solution for the onRollOver but I'm not sure it's the best one:
Code:
clip.onRollOver = function() {
this._alpha = 100;
};
clip.onRollOut = function() {
this._alpha = 0;
};
This works great but with one big hitch. It loads all the thumbnails first and then once I run over all of them it hides and shows them onRollOver and onRollOut. Is there a way to hide them when the page first loads and then only start showing them onRollOver? Is there a way to create a mask hiding everything until onRollOver or possibly a setting for the initial mc.borderFill that would create that effect? Or would it be better to try to figure out how to load them onRollOver. The other part is the link to another site onRelease. I have the links setup in my xml but not sure how to set up a geturl onRelease with _blank to read into the actionscript. I'm very new to working with xml and actionscript.
View 3 Replies
Feb 10, 2009
Suppose I want to dyanamically load 10 jpeg thumbnails. I have given them files names "image0.jpg", "image1.jpg", "image2.jpg", image3.jpg" and so on.Now, I might write out the code to do it ten times, like this:
var image0:loader = new Loader ();
image0.load(new URLRequest ("images/image0.jpg);
var image1:loader = new Loader ();
image1.load(new URLRequest ("images/image1.jpg");
But it would be much better if I could write out it out in a loop, and have the actionScript assign names to the variables. I don't know actionscript so well, but I feel I want to have something like this:
var [name+i] :loader = new Loader();
[name+i].load(new URLRequest ("images/"+[name+i]+".jpg");
Now I've just made that code up, but there is some logic in it, which I hope makes my question clearer.
View 12 Replies
Nov 4, 2010
I'm trying to understand how AS3 works compared to AS2 when using navigation buttons to load external .swf files.
In AS2, I would have 5 menu buttons. Each button contained a script to load an external .swf file into layer 2 (on top of my existing movie). It would also contain a line of code to unload any movie that was already in Layer 2. This way new movies came in on top and were easy to identify when it came time for them to be unloaded.
Now in AS3, I can't find a similar way to work with external movies, since there are no longer layers. I create a movieLoader and add a child to it to load my external .swf - that works fine.But how do I tell each button to remove any children that already exist before loading the new child? The way it works now, the movies just keep piling on top of each other whenever I click a button.[code]...
View 4 Replies
Mar 25, 2005
[URL]My goal is to make all animations to load at once, because right now it only loads (loadMovie) on whatever you click, therefore there is a delay between the link you click and what will open.how you could preload all animations before you enter the site, I need your help, your any tip, and your advice on what code should I use.[URL]
View 1 Replies
Mar 18, 2009
I want to load different movies into the same area. Like the pic attached. click on the button and the related flv loads in area.
View 2 Replies
May 6, 2002
I'm trying to load several movies after the other.
with loadMovie:
loadMovie ("test1.swf", 2);
unloadMovieNum (2);
loadMovie ("test2.swf", 3);
unloadMovieNum (3);
As soon as movie 1 is ended I want that movie2 starts.
I want that the loading of movie (test2.swf) starts when test1.swf is ended.
View 4 Replies
Mar 5, 2008
I am building a website with an image gallery using XML to load thumbnails and images.
Firstly, I was going to try to make the thumbnails act like buttons, so the mouse cursor would change to a little pointing finger like it does in buttonmode but i could not get this to work.
Secondly, I also wanted the alpha properties of the other buttons to reduce to about 0.75 to highlight the selected thumnail that would stay at its full alpha value of 1. Yet again i could not get this to work either.Can you build this type of functionality into the imported xml data or am I just kidding myself here?
View 10 Replies
Apr 6, 2009
I used the scrolling thumbnails to make a buttons that use attachMovie to load movieclips from the library to the stage. I think i have put it together correctly but nothing is loading into the holder.
i was doing testing on the first 2 thumbnails the first 2 chairs in the scrolling thumbnails
I wanted it to load movieclips from the library to the stage in a designated holder
here is the code i used for the scrolling thumbnails-
Code: Select allpanel.onRollOver = panelOver;
function panelOver() {
this.onEnterFrame = scrollPanel;
[Code].....
View 1 Replies
Feb 28, 2008
Is it possible to load backgrounds for the thumbnails in tutorial http:[url]...Now I have a mc containing multiple white backgrounds at 65x65px, which loads and places it under the loaded thumbnails (like a mask), but I would rather like it to load a singel mc, seperatly for each thumbnail. How can I do that?
View 1 Replies
May 11, 2009
I have a movie called "index.swf" and a class called "index.as" The problem is that loads the movies in the same position.index.as:
package {
import flash.utils.getDefinitionByName; import flash.display.Loader; import flash.display.Sprite; import flash.events.Event import
[code].....
View 7 Replies
Aug 14, 2009
I bought a template from flashmo which comes one main flash file and photoalbum fl. file. The main flash file plays swf. file from photoalbum. I like to create many photoalbums and play them on the main file.I have no idea how to do that. I spend hours and hours searching online but I cannot find information.The actionscript that is related to playing movie is below.
import mx.transitions.*;
import mx.transitions.easing.*;
//
var numMenuX = 605;
[code]....
View 0 Replies
Dec 5, 2011
im trying to do this in AS3? Is there any way to do this in AS3?.
myDate = new Date();
time = myDate.getHours();
if (time < 1) {
loadMovie("night.jpg","contentMC");
[Code].....
View 9 Replies
Mar 4, 2009
[code]...
i have a class name is Resoures above method is in this class
prob 1 : if mymovie1.swf loaded there is a button and if it click the mymovie2.swf should be load in same "container" movie clip
View 2 Replies
Jan 30, 2003
I have a scene with 9 buttons opening each a *.swf movie example: on Home I attach the action:
on (release) {
gotoAndStop (2);
}
// other buttons goto and stop frame 3,4,5,6...
on Frame 2 there is a blank keyframe with the action:
stop ();
loadMovieNum ("home.swf", 2);
unloadMovieNum (1);
unloadMovieNum (3);
unloadMovieNum (4);
[code]....
what about a *swf movie(1.3) loaded into a *swf movie(1.2) witch is loaded into a *swf movie(1.1)?can I unload movie 1.3 separately?
View 2 Replies
May 8, 2003
Ok, I know this is probally has a simple answer. but i cant figure it out. i have 3 buttons each controling a different movie clip. but the effect i want is when you click a button the assigned movie clip loads ontop of the other. basically this is because the movie clips are alpha tweens and i need that transition effect
View 1 Replies