Actionscript 2.0 :: Pre-Loader With Carousel 3

Dec 20, 2010

I have a carousel 3 based navigation item for my site built, and now new XML content (CDATA) for the carousel can be loaded dynamically into the carousel depending on pressing different language buttons (example attached). After a few fails and tries, all good!What I am trying to do is apply a preloader for the whole thing. I tried following this tutorial: viewtopic.php?f=35&t=14393.but I am getting some conflicts with some other modifications made for the CDATA and multi-language buttons. Can someone please, please give me a hand and help me understand what direction I need to go in?Attached are 3 FLAs:

1) 'working' shows the different language buttons working as I have them - the tooltips and expanded icons will show different XML content depending on the language button selected (English, Polish, German, Dutch - haven't created content or translated yet, but you can see different identifiers!)

2) 'preloader' shows the preloader I would like to apply to the carousel item. The layers are moved to frame ten mostly, 'Export in Frame 1' has been un-checked in properties for the 'item' and 'tooltip' library items, and a new layer containing dummy 'item' and 'tooltip' instances in keyframe 5 have been added. The AS has also been changed, but it doesn't take into account the multi-XML change as in 1 above ......

3) 'bridging' is my sorry attempt to bridge the gap between 1 and 2 above. I think that a separate array will be needed - one for the multi-XML and another for the way in which the preloader works, but nothing that I have done so far can get this to work. I have been banging my head on this since (last) Saturday, the 'bridging' actions layer only contains a slight variation on some of the bonkers theories I have been trying, I've rolled back most of the changes - all to no avail though....Can anybody please have a look at what I am trying to do and let me know what it is that I am doing wrong, or give me some pointers? The 'problem' AS sits in the keyframe in frame 10 of the 'actions' layer.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Loader Or Loader Context - Container Loads The Module From An Absolute Path

Jan 23, 2009

I have two swf files, each one almost with the same classes, the most important one is a Singleton class, each swf does "singleton.getInstance()". The diference is that one swf is like a container and the other one is like a module. So when the container loads the module from an absolute path like loader.load("file://c:/modules/module.swf") or loader.load("[URL]"), two different singletons (same class) are created

But when the container loads from a relative path like loader.load("module.swf") , just one singleton is created (that is what I want) I am just intrigued with this behavior, could someone explain me this? PD: I believe is something related to loaderContext and applicationDomain but It also appears that isn't working right. -Patricio Foieri , Vertigo Labs

View 1 Replies

ActionScript 3.0 :: Loader Event.INIT Fires But Loader.content Is Null?

May 9, 2009

The title describes the problem: Loader.load() is firing the INIT event, but in my listener it's reporting loader.content as null. The description for INIT event is "Dispatched by the associated LoaderInfo object when the properties and methods of the loaded SWF file are accessible."I'm loading a lot of JPG images, and 95 percent of the time it works fine; the init listener fires and reports valid loader. content.I absolutely need loader.content available because I need to set the bitmap smoothing property to true.I've tried using Event.COMPLETE and it has the exact same problematic behavior.

View 13 Replies

ActionScript 3.0 :: Game App Runs Fast In Simple Loader And Slow In Other Loader?

Apr 28, 2010

I'm feeling a bit low now as I have been suffering this for months. A simple loader loads my simple game and runs VERY FAST on even slow pcs BUT when I build this other loader, it goes quite slowly and I don't know where the app is going wrong. WHERE is the processing consumptoin coming from out of my app.

[Code]...

View 1 Replies

ActionScript 3.0 :: Loader Disappearing - Set The Dimensions Of The Loader So The External Swf Doesn't 'spill Over', The Result Is A Blank Screen?

Mar 26, 2010

I have the following code which simply loads an external swf, puts it in the right place and should all be hunky dory.This works:

Code:
var myLoader:Loader = new Loader();
addChild(myLoader);
var url:URLRequest=new URLRequest("foobar.swf");[code].....

to set the dimensions of the loader so the external swf doesn't 'spill over', the result is a blank screen. No matter how high I set those dimensions it just doesn't display anything.

View 4 Replies

ActionScript 3.0 :: ADDED Event In Loader.load And Loader.loadBytes

Sep 13, 2010

I got this very strange behavior from FlashPlayer debugger 10.1 r82. When I call loader.load method, no ADDED event is dispatched to the loader object. But if I open the file and call loader.loadBytes instead, an ADDED event is dispatched to the loader object. I suspect the ADDED event is dispatched because the content is being set as the child of Loader object, but why in the other case it is not dispatched?

View 4 Replies

Actionscript 3 :: Only The Loader Images Are Being Exported In Frame 1 But The Loader Still Only Shows Up At 100%?

Apr 7, 2012

the file loads correctly but the loading screen only flashes up at the end.The only thing being exported in frame 1 is the loader image, and that is extremely small.Is it possible that there's a queue of things being loaded and the loader image is at the bottom of that queue? Since that was one of the last things added to the project

View 1 Replies

ActionScript 3.0 :: When Loader.swf Loads The RSL And The Other 10 Swfs The Loader Throws Errors?

Aug 12, 2009

i have a main loader swf file called loader.swf and it loads an RSL.swf (runtime shared library for my swf files) and then 10 swf files, each one to a container (fE.: movieclip '01' in loader.swf, then movieclip '02' and so on). the 10 swf files have a lot of references to RSL.swf, and i have to use RSL.the problem is when loader.swf loads the RSL and the other 10 swfs the loader throws errors like this:

Code:
*** Security Sandbox Violation ***[code]...

then i put in EVERY swf files (loader,RSL and the other 10) the code Security.allowDomain ("*") but throws the same errors...

View 1 Replies

ActionScript 3.0 :: Keeping Loader Contents After Loader Removed From Memory

Aug 21, 2009

I'm loading some images with Loaders, cloning the BitmapData to a new Bitmap, and adding the Bitmap as a child of a Sprite. So far, so good. I want the Loaders I'm using to be removed by garbage collection, which they seem to be. The problem, or so it seems, is that when the Loaders are cleaned up, the Bitmaps I'm creating lose their data.

Edit: All this is happening when a class is instanced, and many copies of this class are being used as actors in a game. As the Actors are being created the older ones are losing their BitmapData to garbage cleanup. When all of them are finally loaded, only the last few are visible. I've rewritten my posted code as a class. If I prevent the Loaders from being cleaned up by somehow keeping a reference to them, the Bitmaps don't lose the data, but I don't want these Loaders hanging around.

[Code]..

View 1 Replies

Actionscript 3 :: Loader() - Loading Multiple Images With One Loader?

Mar 11, 2010

I am attempting to load multiple images in AS3 and I'm exploring different options on how this can be done.I would like to have to only use one Load() instance and handle the various image assignments in the onComplete handler...here is my first attempt:

var buttonLdr:Loader = new Loader();
buttonLdr.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onLoadError);
buttonLdr.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadCo

[code]....

View 1 Replies

ActionScript 2.0 :: Simple Loader Fails When Loading In An .swf Containing The Loader?

Jun 26, 2007

Sorry for the complicated topic. I got a .swf that loads in other .swfs. Rather than figuring out how to make a loader for loading .swfs I thought I'd just use a simple loader in the .swf I'm loading.

However, it doesn't work. It starts fully loaded but doesn't finish. Heres the AS:[AS]_root.stop();
PercentLoaded = _root.getBytesLoaded()/_root.getBytesTotal()*100;

[code].....

View 1 Replies

ActionScript 3.0 :: Converting A Bitmap Loader To A MovieClip Loader?

Aug 24, 2009

how to create an image gallery that loads external bitmaps. It also has some nice fade in/fade out effects using Tweener. I was wondering, what would I need to modify from my code to load MovieClips from the library instead of the external JPEGs.

Code:
import caurina.transitions.Tweener;
var btn:Object;
var disabledBtn:Object;

[Code].....

View 8 Replies

ActionScript 3.0 :: How To Access A Loader Loaded By A Loader

Aug 13, 2009

How to access a loader loaded by a loader

View 4 Replies

ActionScript 3.0 :: Loader Class - Error 1061: "Call To A Possibly Undefined Method Load Through A Reference With Static Type Loader"

Oct 20, 2010

siteLoader.as, Line 23 1061: Call to a possibly undefined method load through a reference with static type Loader.

[Code]....

View 2 Replies

ActionScript 3.0 :: Load External SWFs, AddChild(Loader) Versus AddChild(Loader.content), Etc?

Jul 29, 2009

I have a main "shell" swf which, by clicking several buttons, will load/unload various external swfs into a Placeholder_mc which resides on the main timeline in Shell.swf In the documentation and tutorials I've seen a couple different methods, and I'm not sure I quite understand the difference, or at least the reason you would use one over the other...In the 1st method, you can just add the Loader object using the addChild() method:

Code:

var myLoader:Loader = new Loader();
var myURLRequest:URLRequest = new URLRequest("ExternalFileA.swf");
myLoader.load(myURLRequest);
Placeholder_mc.addChild(myLoader);

This will apparently add myLoader to the display list once it has completely loaded.The 2nd method, you supposedly can add the Loader.content; however, it appears you can only do this once the content has completed loading, so you need to incorporate an event handler with the contentLoaderInfo object:

Code:

var myLoader:Loader = new Loader();
var myURLRequest:URLRequest = new URLRequest("ExternalFileA.swf");
myLoader.load(myURLRequest);

[code]....

What are the pros/cons of adding the entire Loader object, as opposed to the Loader.content and vice versa?

View 7 Replies

ActionScript 2.0 :: Carousel - How To Add In Different Mc's

Jun 18, 2009

I'm working with Lee Brimelow's code from his first tutorial on carousels at [URL]. I'm wondering how to add in different mc's so I'll have more than just one rotating? I'm rotating houses for real estate, so I've got all my mc's made, and labeled (item, item2, item3, item4), I just can't figure out how to get each in there...

[Code]...

View 1 Replies

ActionScript 3.0 :: Image Viewer And Im Loading An Image To A Loader And Then Add The Loader To The Stage?

Aug 12, 2009

im working on an image viewer and im loading an image to a loader and then add the loader to the stage.I want the user to be able to drag and drop the image but since it's a loader i dont know how to do it.
I tried

imageLoader.startDrag = true;
imageLoader.content.startDrag = true;
 
but im getting an error on both.

View 2 Replies

CS3 - Make Carousel Effect?

Mar 22, 2010

how can I make a carousel effect similar to this website? Is there an easy program to assist? Is it flash?

View 1 Replies

ActionScript 3.0 :: How To Create A Carousel

Jun 24, 2009

how to create a carousel..

View 1 Replies

ActionScript 1/2 :: SwapDepths With 3d Carousel?

Feb 19, 2010

I did the 3d carousel tutorial from gotoandlearn.com and I manage to create a background color that will load once you click an image with a movie clip called dim . However this movieclip dim keeps appearing atop my icons. I tried Swapdepths to change the orders but its not working.

[Code]...

View 17 Replies

ActionScript 2.0 :: Using SwapDepths With 3D Carousel

Feb 20, 2010

I did the 3d carousel tutorial from gotoandlearn site and I manage to create a background color that will load once you click an image with a movie clip called dim. However this movieclip dim keeps appearing atop my icons. I tried Swapdepths to change the orders but its not working. On function released. I want the var dim to be behind the var t:Movieclip =home. in the preview the movie clip dim with the alpha of 80 appears on top the var t that has the carousel images.

Code:
import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var numOfItems:Number;
var radiusX:Number = 300;
var radiusY:Number = 75;
[Code] .....

View 0 Replies

Actionscript 2.0 :: Add Link To Carousel 2

Sep 12, 2008

i was going thru the tutorial of carousels how can i add links to diff pages using carousel

View 14 Replies

3D Carousel Displaying FLV Instead Of Images?

Jan 20, 2009

how to make the 3D carousel display different playing .flv files instead of images but have not been able to work it out.

View 8 Replies

ActionScript 2.0 :: How To Get 3D Carousel To Appear Only On Homepage

Mar 9, 2009

I just built a carousel using Actionscript 2.0 in CS4 via an awesome tutorial on this site. I've added this carousel to an existing site and works beautifully on the home page but the problem is, when I click on a button to go to a new page, the carousel appears there as well obstructing the page content. Also, when I click back to home the carousel multiplies. My question is, how do I get the carousel to appear on the homepage ONLY and not multiply each time I click back to the home page? I'm a new Flash user.

View 1 Replies

Actionscript 2.0 :: Preloading The 3D Carousel?

May 2, 2009

I followed the tutorial for the 3D Carousel, tutorials 1 through 3. (Great tutorial by the way) The main thing that I want to change about the 3d carouosel is how it loads. If I simulate the download for say a 3d carousel, the icons come onto the stage kind of at random intervals depending on how quickly it downloads each external image file. I was hoping that some sort of preloader (whether it be the basic one or the advanced one in the tutorials) would work to load the movie without seeing the icons pop in slowly on load. But Neither of them seemed to work. I even tried the "load an external SWF" tutorial and that didn't work either.

So instead I decided to modify the 3D carousel to not pull external images into the movie by reading the xml file as it currently does but to just create individual item movie clips for each item. For some reason, when I edited the item movie clips I lost the masker effect. I can't seem to figure out how to get the masker effect to start working again. I tried tracing the bitmap for the icon, or breaking it apart but that didn't work.

What things or settings are needed in order for the masker to work correctly?Is there a smooth way to preload the 3D carousel without seeing the icons pop in one at a time as it loads the external images?

View 2 Replies

Actionscript 3.0 :: Does The Carousel 3D Work With CS3

May 4, 2009

I've been putzing around with this tutorial for a couple of days and I seem to come up with the same error pretty consistently so I'm beginning to wonder if I shouldn't be doing something a little differently for Flash CS3. The error I'm getting is 1046: type was not found or was not compile-time constant:imCon

View 8 Replies

ActionScript 3.0 :: Carousel - How To Get Rid Of Angle

Sep 1, 2009

I have a carousel built and it works fine, but there is an angle on it that I want to get rid of. When the images move along the carousel, I want them to always stay the same on the X axis. Here is the code, I have tried mangling it in every possible combination, but it is outside my AS3 knowledge on how to get the angle changed.

import mx.utils.Delegate;
var numOfItems:Number;
var radiusX:Number = 1150;
var radiusY:Number = 50;
var centerX:Number = Stage.width / 2;
var centerY:Number = Stage.height / 6;
var speed:Number = 0.002;
[Code] .....

View 1 Replies

Carousel With Images Loading Via XML ... Mod?

Mar 30, 2010

I am using the Casousel3 tutorial and getting some cool effects but would like to make some mods - but don't really have the knowledge it seems to do them. I have tried but only succeeded in creating a rather nice white screen. I would like to be able to bring in the images via xml at 75% their original size so that when i click them I can enlarge them too 100% (part where the text comes in - have sorted the enlarging) and not get any pixelisation appearing. I would also like to be able to preload the images as they are loading (with that swirl loading graphic if possible !?)

View 1 Replies

Actionscript 2.0 :: Way To Delete Carousel 3d

May 4, 2010

I'm modifiying the 3D Carousel and I want that onRelease function it desapears. I've created a new layer with two frames. The first have an stop(); and the second have a red rectangle.

I can go to this frame but I've tryied a lot of diferent methods to stop/delete the carrusel and it continues appearing.

View 3 Replies

Can't Get Carousel To Work Properly

Nov 15, 2010

I am VERY green when it comes to flash and this is my first ever project. What Im trying to accomplish; *a website for myself that is "simple" and clean to be used as an art portfolio/gallery of my work. -three sets of buttons that go to three pages all with carousels that hold my artwork for that type (ie. press the concept art button and it loads page 2 where there is a photo carousel that containing my concept art pieces.
-clicking another button will then call for a new page with a new carousel (I have three types of art that I am showcasing: concept art, fine art, 3D game art)

I have managed to create a flash page that has my name and the buttons and upon pressing the buttons it goes to the page I need. However the pages are at the moment empty due to the fact that I cannot get the carousels to work properly. I have watched the tutorial and dl the class package on 3D carousels. I changed the .as file within the package so that my carousel will be vertical by changing imc.x = Math.cos(imc.angle) * 450; to imc.y = Math.cos(imc.angle) * 450;

[Code]...

View 1 Replies







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