Load External Swf (Banner Rotator) To Aexisting Swf
Dec 2, 2009
I am trying to load an external swf (Banner Rotator) to an existing swf (website).My problem is that the banner rotator I am trying to add totally changes the display of my site which I had coded to resize to browsers and remain central.Here is the live website before I have added the Banner Rotator: URL...and this is what happens to it after I add the code:my website.This is the code I used to load the external swf, it is within a an MC within an MC on the stage:[code]I am utterly confused as to how to sort this out, and am getting very close to my deadline (2 days away!).
URL...as you can see ive uploaded everything possible to do with the banner rotator with a little help from a guy on this forum. (if your veiwing in firefox the site may look messed up) and it just stays loading for ages and doesnt eventually load.and if anyone knows the code so my site can be viewed in all screen resolutions without having to slide across at the bottom.
I am a web developer (CF and ASP.net) working on a new project. I toyed with flash back around the beginning of Flash MX around the early 2000's. Basically I am looking for direction on this -- I would like to have a small flash movie that displays a collection of pictures with some sort of transition. Ideally, I would like to pull the image paths from a database and rotate through them at some time interval. This seems like something that shouldn't be too difficult - and I am sure it has been done thousands of times - I am surprised I cannot find more information through google searches. Maybe I am not keying on the correct terms!??!? Anyways, If anyone could provide some direction - I am hoping that I can pick it up with a little push. Having not touched flash in 7 or 8 years, I am kind of stuck getting started.
I am looking for a non XML driven Flash banner rotator, something where I can load my images into the FLA and publish. The only rotators I can seem to find have external XML/image files, etc. All I want to do is create simple SWF's that I can use to display rotating images preferably is a smooth and stylish manner. Does anyone know of any, or could point me in the right direction?
I have a banner rotator / slideshow with 30 swf's. I have an xml file driving the lideshow. My problem is that I have video pop-ups in each of the 30 linked swf's and a geturl in each of the swf's. I need to be able to drive this content from the xml file. Is that possible? to read an xml file from a linked swf?
I have 2 empty mc's that get images from xml.I'm trying to make the mc's into "buttons" so on mc.onRelease, url from xml will be linked.Problem:onRelease starts working from second image.URL link is adURLindex = 2, when it should be adURLindex =
I am trying to modify a template that has a banner rotator. Instead of having a bunch of images rotate, I would like just one .swf file. So I removed all the other image tags in the XML and changed the one I want to
<image path="ad/01.swf" link="" />
However, nothing displays. I assume its because the actionscript must be set up to display swf's differently. I found in the code a few refernces to this...
When the page loads, it calls "setRotator". Inside "setRotator" is the loadImage call. Here are both functions.
Code: private function setRotator():void { if (_randomize) loadImage( _xmlList[ _randomArray[_count] ].@path, _xmlList[
Im trying to learn how to deal with such banners. Seems that everything works fine BUT I cant select the nodes of the XML. See the code below It keep saying "cannot open url undefined".
i'm making a preloader for my banner rotator, but the reason to be here writing this post is to ask for help to fix a bug in my preloader, for example: When I click on a button to change the image while the preloader is counting it simply starts counting the the bytesLoaded of old image + the new image(bytes) of the button I've clicked. Then the percentage goes over the 100% ... I didn't want to disable the button, I know is possible in some way but I am not finding success.
I am posting this because I purchased a package on FlashComponents.net, and spent 167 dollars on a set of flash components that were suppose to be easy to install and highly customizable. I messaged the creater of this package, snowcat, but he does not reply to my inquiries on why it does not work.
What I thought might be wrong was what I changed in the xml file, so I uploaded the entire folder from stock. the index.html page worked, however as soon as i copied the source code into my page I wanted to to actually play in. It does not even show, when I right-click the area in which it is suppose to be it says "Movie not loaded...".
I literally copied and pasted, there were no changes to the code whatsoever from the working one. After that I continued to try to arrange it the way I wanted it to be anyways, storing the source files in a folder of the site rather than having it in the root of the file. This folder is "index_banner" The developer DID have a posting about that issue on his website which I read four times to make sure that somehow that was not the culprit either.
Below is the code for the page; I am hoping I inadvertantly messed something up because then my 167 dollars is not wasted. But with the lack of support for a supposed "well documented" package it is a little disheartening.
I built a banner ad which works fine when I test it in flash. I then put it inside another flash movie in which it is loaded as an external swf ,my portfolio, and it it loads and only runs the 1st line of code animation and I can see the text that is waiting (outside the visual dimensions of the banner) I am also getting this error....what is going on?
I know I'm giving only one error. But this multiplies by 3 and they are al the same.So the swf works but the don't show up.
Here is my AS code: playclip._visible = false; menu.button_mc1.title_txt = title1; menu.button_mc2.title_txt = title2; menu.button_mc3.title_txt = title3; menu.button_mc4.title_txt = title4;
Anyway what I need is a banner (or galleri) which pulls in external images. But i want it to be able to automatically get new images which I put in the folder.Also i want to be able to position this, since im going to make a banner/menu combo ( I can post an image of the concept if actually i have a link to the site where im want to use itI want to position the the banner in between the graphic to the left and right and I also want to position the menu on top of the banner.I've read some tutorials where you use a placeholder which i guess is what i'm supposed to do here.
I want to create banner and do exchange with others.Banner will be flash because it will load just entry titles with URL's from XML, which is on my site.
Is there a cross-browser solution available to give a flash banner an html link, without putting it into the flash itself? (i.e. the Flash has no clickable button in it). I tried giving the surrounding anchor tag a high z-index, but that did not work. I'm using the standard google swfobject to include the flash banner, but am not stuck on using that.
I am having this problem on a website where the flash banners for each page wont load in any browser until you either refresh F5 the page or try re-clicking the page nav links a few times. Once loaded they are fine, but if browser's cache is cleared, no go. [URL] Some research suggested "Usually this happens if there are a lot of linkaged objects in the library with 'Export in first frame' option enabled. If this is the case, please disable this option. The problem is not in the quantity of the linkaged movieclips with 'Export in first frame' option enabled, the problem is the size of the objects which are linkaged."
I am having this problem on a website where the flash banners for each page wont load in any browser until you either refresh F5 the page or try re-clicking the page nav links a few times. Once loaded they are fine, but if browser's cache is cleared, no go. Some research suggested "Usually this happens if there are a lot of linkaged objects in the library with 'Export in first frame' option enabled. If this is the case, please disable this option. The problem is not in the quantity of the linkaged movieclips with 'Export in first frame' option enabled, the problem is the size of the objects which ar linkaged." I have de-compiled the SWF and checked out the library, but really have no idea in regards to Flash files and their construction as to what is or isn't an issue.
I am building a banner ad and I am using Flash CS4. I need it so when someone clicks the banner it takes them to the page in a new window. Its just a a simple URL and I keep getting syntax errors now and I dont know how to do this properly. I have tried these methods.
I want to create an image rotator that looks similar to the one in the upper RHS of joinred dot com. I'd like it to have images that are a bit bigger than the one on that site. However, I like the thing about them coming in from the right, as well as the effect, being a bit distorted and then becoming clear.
Ok so hereby I am starting a new topic after successful coding of xml file I am trying to produce flash text rotators from the xml file.Now i could do this in javascript which I have already implemented see link:dedication message
I'm having a strange issue with an incremental rotator. Using Tweener, i just want a square to rotate by 15 degrees each time the stage is clicked. This works perfectly until the rotation get larger than 200. At that point the square spins a full loop before landing on the correct location. All I'm looking for is to have it be +=15 from where it currently is.[code]
I've found this xml driven banner rotator here on Kirupa from Mr. Daytripper.It's great (with preloader, xml controlled transitions, speed, urls) but I need to be able to add additional control with a 1 - 2 - 3 - 4 buttons that would jump to image 1, 2, 3 or 4 and maybe pause/play.I've added the buttons but don't have any idea how to control the arrays/variables.
I'm attempting to make it like a standard banner rotator like you might see on the homepage of Target.com, Bestbuy.com, but honestly the code is a beyond me.
I want to create a cube with images from an xml,..that will rotate to one side of it and show me an image..stay for a while then rotate again to next image-side..wait etc.
I have some troubles wtih this gallery. I do not know what to do.(Sorry for my bad english...) I'm trying to do a infinite loop with this gallery, like this sample: [URL] I have no idea how to start. The code and sample:Code: Select allstop();
I am new in actionscript 3.I want to make a rotating vertically cube with images from an xml.Cube will rotate to a side,stay for a while then rotate to the next side and show me the image for a while too and continue.In each side I want to pass a url so when I click the side-image to direct me to a website.
I'm trying to create an image rotator in flash that is powered by XML that just continually rotates through the images (fading into an image and fading out, and then fading into the next image, etc).I've managed to load the XML file and get the location of the image files for each image:[code]and I've managed to load the last image in the XML into a movieclip by putting this line:imageHolder.loadMovie(myImage[i].attributes.image); under the var imageURL = myImage[i].attributes.image line.I can't work out how to:
1. Display one image at a time instead of just the last image in the XML file
2. Fade in and out between each images (I was trying to use Tweenlite to do this and think I can get it to work once I know how to do the above point)
3. How to continually repeat through all the images.
how to make a basic image rotater by importing images and setting up motion tweens in the time line. That part works. When I hit ctrl + enter it plays through the images correctly.
Now I want to add an action script that will play/pause the rotator on mouseover and mouseout.
What I have so far is layers img1, img2, img3, img4 and an invisible button layer called buttonLayer.
I added a 6th layer and named it action.
Now every time I try to use one of the symbols from the library I get a "undefined property" error.
I have looked all over and find all kinds of tuts but none of the ones I'm finding tell the basics of how to use a symbol in the actionscript. Or how to make a symbol/instance/object in the first place. They just say things like "somesymbolname.play()" but when I replace that with my symbol name I get the error.
I've renamed all my symbols to img1, img2... because one thing I can see that is obvious is that there is no way "symbol 1" works in any programming language because of the space in the name. I'm confused that flash would automatically create a symbol with a name I can't use.
When I right click->actions to bring up the actionscript window for my action layer where do I start? And are there other things I need to do with the symbols and layers before I can use them in action script?
I'm attaching the fla file in a zip. how to add the actionscript it would go a long way in helping me understand how it all works.
I also tried saving the swf and then importing that into a new project as one single layer to work with and that doesn't seem to make a difference as far as figuring out the actionscript.